Documentation ¶
Index ¶
- Variables
- type SimpleHttpCacheConfig
- func (*SimpleHttpCacheConfig) Descriptor() ([]byte, []int)deprecated
- func (*SimpleHttpCacheConfig) ProtoMessage()
- func (x *SimpleHttpCacheConfig) ProtoReflect() protoreflect.Message
- func (x *SimpleHttpCacheConfig) Reset()
- func (x *SimpleHttpCacheConfig) String() string
- func (m *SimpleHttpCacheConfig) Validate() error
- func (m *SimpleHttpCacheConfig) ValidateAll() error
- type SimpleHttpCacheConfigMultiError
- type SimpleHttpCacheConfigValidationError
- func (e SimpleHttpCacheConfigValidationError) Cause() error
- func (e SimpleHttpCacheConfigValidationError) Error() string
- func (e SimpleHttpCacheConfigValidationError) ErrorName() string
- func (e SimpleHttpCacheConfigValidationError) Field() string
- func (e SimpleHttpCacheConfigValidationError) Key() bool
- func (e SimpleHttpCacheConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_cache_simple_http_cache_v3_config_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type SimpleHttpCacheConfig ¶
type SimpleHttpCacheConfig struct {
// contains filtered or unexported fields
}
[#extension: envoy.extensions.http.cache.simple]
func (*SimpleHttpCacheConfig) Descriptor
deprecated
func (*SimpleHttpCacheConfig) Descriptor() ([]byte, []int)
Deprecated: Use SimpleHttpCacheConfig.ProtoReflect.Descriptor instead.
func (*SimpleHttpCacheConfig) ProtoMessage ¶
func (*SimpleHttpCacheConfig) ProtoMessage()
func (*SimpleHttpCacheConfig) ProtoReflect ¶
func (x *SimpleHttpCacheConfig) ProtoReflect() protoreflect.Message
func (*SimpleHttpCacheConfig) Reset ¶
func (x *SimpleHttpCacheConfig) Reset()
func (*SimpleHttpCacheConfig) String ¶
func (x *SimpleHttpCacheConfig) String() string
func (*SimpleHttpCacheConfig) Validate ¶
func (m *SimpleHttpCacheConfig) Validate() error
Validate checks the field values on SimpleHttpCacheConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SimpleHttpCacheConfig) ValidateAll ¶
func (m *SimpleHttpCacheConfig) ValidateAll() error
ValidateAll checks the field values on SimpleHttpCacheConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SimpleHttpCacheConfigMultiError, or nil if none found.
type SimpleHttpCacheConfigMultiError ¶
type SimpleHttpCacheConfigMultiError []error
SimpleHttpCacheConfigMultiError is an error wrapping multiple validation errors returned by SimpleHttpCacheConfig.ValidateAll() if the designated constraints aren't met.
func (SimpleHttpCacheConfigMultiError) AllErrors ¶
func (m SimpleHttpCacheConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SimpleHttpCacheConfigMultiError) Error ¶
func (m SimpleHttpCacheConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SimpleHttpCacheConfigValidationError ¶
type SimpleHttpCacheConfigValidationError struct {
// contains filtered or unexported fields
}
SimpleHttpCacheConfigValidationError is the validation error returned by SimpleHttpCacheConfig.Validate if the designated constraints aren't met.
func (SimpleHttpCacheConfigValidationError) Cause ¶
func (e SimpleHttpCacheConfigValidationError) Cause() error
Cause function returns cause value.
func (SimpleHttpCacheConfigValidationError) Error ¶
func (e SimpleHttpCacheConfigValidationError) Error() string
Error satisfies the builtin error interface
func (SimpleHttpCacheConfigValidationError) ErrorName ¶
func (e SimpleHttpCacheConfigValidationError) ErrorName() string
ErrorName returns error name.
func (SimpleHttpCacheConfigValidationError) Field ¶
func (e SimpleHttpCacheConfigValidationError) Field() string
Field function returns field value.
func (SimpleHttpCacheConfigValidationError) Key ¶
func (e SimpleHttpCacheConfigValidationError) Key() bool
Key function returns key value.
func (SimpleHttpCacheConfigValidationError) Reason ¶
func (e SimpleHttpCacheConfigValidationError) Reason() string
Reason function returns reason value.