Documentation
¶
Index ¶
- type CacheConfig
- func (*CacheConfig) Descriptor() ([]byte, []int)
- func (m *CacheConfig) GetAllowedVaryHeaders() []*v3.StringMatcher
- func (m *CacheConfig) GetKeyCreatorParams() *CacheConfig_KeyCreatorParams
- func (m *CacheConfig) GetMaxBodyBytes() uint32
- func (m *CacheConfig) GetTypedConfig() *any.Any
- func (*CacheConfig) ProtoMessage()
- func (m *CacheConfig) Reset()
- func (m *CacheConfig) String() string
- func (m *CacheConfig) Validate() error
- func (m *CacheConfig) XXX_DiscardUnknown()
- func (m *CacheConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CacheConfig) XXX_Merge(src proto.Message)
- func (m *CacheConfig) XXX_Size() int
- func (m *CacheConfig) XXX_Unmarshal(b []byte) error
- type CacheConfigValidationError
- func (e CacheConfigValidationError) Cause() error
- func (e CacheConfigValidationError) Error() string
- func (e CacheConfigValidationError) ErrorName() string
- func (e CacheConfigValidationError) Field() string
- func (e CacheConfigValidationError) Key() bool
- func (e CacheConfigValidationError) Reason() string
- type CacheConfig_KeyCreatorParams
- func (*CacheConfig_KeyCreatorParams) Descriptor() ([]byte, []int)
- func (m *CacheConfig_KeyCreatorParams) GetExcludeHost() bool
- func (m *CacheConfig_KeyCreatorParams) GetExcludeScheme() bool
- func (m *CacheConfig_KeyCreatorParams) GetQueryParametersExcluded() []*v31.QueryParameterMatcher
- func (m *CacheConfig_KeyCreatorParams) GetQueryParametersIncluded() []*v31.QueryParameterMatcher
- func (*CacheConfig_KeyCreatorParams) ProtoMessage()
- func (m *CacheConfig_KeyCreatorParams) Reset()
- func (m *CacheConfig_KeyCreatorParams) String() string
- func (m *CacheConfig_KeyCreatorParams) Validate() error
- func (m *CacheConfig_KeyCreatorParams) XXX_DiscardUnknown()
- func (m *CacheConfig_KeyCreatorParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CacheConfig_KeyCreatorParams) XXX_Merge(src proto.Message)
- func (m *CacheConfig_KeyCreatorParams) XXX_Size() int
- func (m *CacheConfig_KeyCreatorParams) XXX_Unmarshal(b []byte) error
- type CacheConfig_KeyCreatorParamsValidationError
- func (e CacheConfig_KeyCreatorParamsValidationError) Cause() error
- func (e CacheConfig_KeyCreatorParamsValidationError) Error() string
- func (e CacheConfig_KeyCreatorParamsValidationError) ErrorName() string
- func (e CacheConfig_KeyCreatorParamsValidationError) Field() string
- func (e CacheConfig_KeyCreatorParamsValidationError) Key() bool
- func (e CacheConfig_KeyCreatorParamsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheConfig ¶
type CacheConfig struct { TypedConfig *any.Any `protobuf:"bytes,1,opt,name=typed_config,json=typedConfig,proto3" json:"typed_config,omitempty"` AllowedVaryHeaders []*v3.StringMatcher `protobuf:"bytes,2,rep,name=allowed_vary_headers,json=allowedVaryHeaders,proto3" json:"allowed_vary_headers,omitempty"` KeyCreatorParams *CacheConfig_KeyCreatorParams `protobuf:"bytes,3,opt,name=key_creator_params,json=keyCreatorParams,proto3" json:"key_creator_params,omitempty"` MaxBodyBytes uint32 `protobuf:"varint,4,opt,name=max_body_bytes,json=maxBodyBytes,proto3" json:"max_body_bytes,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CacheConfig) Descriptor ¶
func (*CacheConfig) Descriptor() ([]byte, []int)
func (*CacheConfig) GetAllowedVaryHeaders ¶
func (m *CacheConfig) GetAllowedVaryHeaders() []*v3.StringMatcher
func (*CacheConfig) GetKeyCreatorParams ¶
func (m *CacheConfig) GetKeyCreatorParams() *CacheConfig_KeyCreatorParams
func (*CacheConfig) GetMaxBodyBytes ¶
func (m *CacheConfig) GetMaxBodyBytes() uint32
func (*CacheConfig) GetTypedConfig ¶
func (m *CacheConfig) GetTypedConfig() *any.Any
func (*CacheConfig) ProtoMessage ¶
func (*CacheConfig) ProtoMessage()
func (*CacheConfig) Reset ¶
func (m *CacheConfig) Reset()
func (*CacheConfig) String ¶
func (m *CacheConfig) String() string
func (*CacheConfig) Validate ¶
func (m *CacheConfig) Validate() error
Validate checks the field values on CacheConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CacheConfig) XXX_DiscardUnknown ¶
func (m *CacheConfig) XXX_DiscardUnknown()
func (*CacheConfig) XXX_Marshal ¶
func (m *CacheConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CacheConfig) XXX_Merge ¶
func (m *CacheConfig) XXX_Merge(src proto.Message)
func (*CacheConfig) XXX_Size ¶
func (m *CacheConfig) XXX_Size() int
func (*CacheConfig) XXX_Unmarshal ¶
func (m *CacheConfig) XXX_Unmarshal(b []byte) error
type CacheConfigValidationError ¶
type CacheConfigValidationError struct {
// contains filtered or unexported fields
}
CacheConfigValidationError is the validation error returned by CacheConfig.Validate if the designated constraints aren't met.
func (CacheConfigValidationError) Cause ¶
func (e CacheConfigValidationError) Cause() error
Cause function returns cause value.
func (CacheConfigValidationError) Error ¶
func (e CacheConfigValidationError) Error() string
Error satisfies the builtin error interface
func (CacheConfigValidationError) ErrorName ¶
func (e CacheConfigValidationError) ErrorName() string
ErrorName returns error name.
func (CacheConfigValidationError) Field ¶
func (e CacheConfigValidationError) Field() string
Field function returns field value.
func (CacheConfigValidationError) Key ¶
func (e CacheConfigValidationError) Key() bool
Key function returns key value.
func (CacheConfigValidationError) Reason ¶
func (e CacheConfigValidationError) Reason() string
Reason function returns reason value.
type CacheConfig_KeyCreatorParams ¶
type CacheConfig_KeyCreatorParams struct { ExcludeScheme bool `protobuf:"varint,1,opt,name=exclude_scheme,json=excludeScheme,proto3" json:"exclude_scheme,omitempty"` ExcludeHost bool `protobuf:"varint,2,opt,name=exclude_host,json=excludeHost,proto3" json:"exclude_host,omitempty"` QueryParametersIncluded []*v31.QueryParameterMatcher `` /* 132-byte string literal not displayed */ QueryParametersExcluded []*v31.QueryParameterMatcher `` /* 132-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CacheConfig_KeyCreatorParams) Descriptor ¶
func (*CacheConfig_KeyCreatorParams) Descriptor() ([]byte, []int)
func (*CacheConfig_KeyCreatorParams) GetExcludeHost ¶
func (m *CacheConfig_KeyCreatorParams) GetExcludeHost() bool
func (*CacheConfig_KeyCreatorParams) GetExcludeScheme ¶
func (m *CacheConfig_KeyCreatorParams) GetExcludeScheme() bool
func (*CacheConfig_KeyCreatorParams) GetQueryParametersExcluded ¶
func (m *CacheConfig_KeyCreatorParams) GetQueryParametersExcluded() []*v31.QueryParameterMatcher
func (*CacheConfig_KeyCreatorParams) GetQueryParametersIncluded ¶
func (m *CacheConfig_KeyCreatorParams) GetQueryParametersIncluded() []*v31.QueryParameterMatcher
func (*CacheConfig_KeyCreatorParams) ProtoMessage ¶
func (*CacheConfig_KeyCreatorParams) ProtoMessage()
func (*CacheConfig_KeyCreatorParams) Reset ¶
func (m *CacheConfig_KeyCreatorParams) Reset()
func (*CacheConfig_KeyCreatorParams) String ¶
func (m *CacheConfig_KeyCreatorParams) String() string
func (*CacheConfig_KeyCreatorParams) Validate ¶
func (m *CacheConfig_KeyCreatorParams) Validate() error
Validate checks the field values on CacheConfig_KeyCreatorParams with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CacheConfig_KeyCreatorParams) XXX_DiscardUnknown ¶
func (m *CacheConfig_KeyCreatorParams) XXX_DiscardUnknown()
func (*CacheConfig_KeyCreatorParams) XXX_Marshal ¶
func (m *CacheConfig_KeyCreatorParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CacheConfig_KeyCreatorParams) XXX_Merge ¶
func (m *CacheConfig_KeyCreatorParams) XXX_Merge(src proto.Message)
func (*CacheConfig_KeyCreatorParams) XXX_Size ¶
func (m *CacheConfig_KeyCreatorParams) XXX_Size() int
func (*CacheConfig_KeyCreatorParams) XXX_Unmarshal ¶
func (m *CacheConfig_KeyCreatorParams) XXX_Unmarshal(b []byte) error
type CacheConfig_KeyCreatorParamsValidationError ¶
type CacheConfig_KeyCreatorParamsValidationError struct {
// contains filtered or unexported fields
}
CacheConfig_KeyCreatorParamsValidationError is the validation error returned by CacheConfig_KeyCreatorParams.Validate if the designated constraints aren't met.
func (CacheConfig_KeyCreatorParamsValidationError) Cause ¶
func (e CacheConfig_KeyCreatorParamsValidationError) Cause() error
Cause function returns cause value.
func (CacheConfig_KeyCreatorParamsValidationError) Error ¶
func (e CacheConfig_KeyCreatorParamsValidationError) Error() string
Error satisfies the builtin error interface
func (CacheConfig_KeyCreatorParamsValidationError) ErrorName ¶
func (e CacheConfig_KeyCreatorParamsValidationError) ErrorName() string
ErrorName returns error name.
func (CacheConfig_KeyCreatorParamsValidationError) Field ¶
func (e CacheConfig_KeyCreatorParamsValidationError) Field() string
Field function returns field value.
func (CacheConfig_KeyCreatorParamsValidationError) Key ¶
func (e CacheConfig_KeyCreatorParamsValidationError) Key() bool
Key function returns key value.
func (CacheConfig_KeyCreatorParamsValidationError) Reason ¶
func (e CacheConfig_KeyCreatorParamsValidationError) Reason() string
Reason function returns reason value.