Documentation ¶
Index ¶
- Variables
- type Settings
- func (m *Settings) Clone() proto.Message
- func (*Settings) Descriptor() ([]byte, []int)deprecated
- func (m *Settings) Equal(that interface{}) bool
- func (x *Settings) GetAllowedVaryHeaders() []*v3.StringMatcher
- func (x *Settings) GetCachingServiceRef() *core.ResourceRef
- func (x *Settings) GetMaxPayloadSize() *wrappers.UInt64Value
- func (x *Settings) GetTimeout() *duration.Duration
- func (m *Settings) Hash(hasher hash.Hash64) (uint64, error)
- func (*Settings) ProtoMessage()
- func (x *Settings) ProtoReflect() protoreflect.Message
- func (x *Settings) Reset()
- func (x *Settings) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_v1_enterprise_options_caching_caching_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { // The basic reference for the service. Details name and namespace. CachingServiceRef *core.ResourceRef `protobuf:"bytes,1,opt,name=caching_service_ref,json=cachingServiceRef,proto3" json:"caching_service_ref,omitempty"` // A list of string matchers that state what headers are allowed to vary // and still be cached. Per upstream envoy allowed vary headers. AllowedVaryHeaders []*v3.StringMatcher `protobuf:"bytes,2,rep,name=allowed_vary_headers,json=allowedVaryHeaders,proto3" json:"allowed_vary_headers,omitempty"` // Connection timeout for retrieval from an sync cache Timeout *duration.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // Max payload size to cache. If unset defaults to a reasonable value. // If explicitly set to 0 will prevent anything with a body from // being cached. MaxPayloadSize *wrappers.UInt64Value `protobuf:"bytes,4,opt,name=max_payload_size,json=maxPayloadSize,proto3" json:"max_payload_size,omitempty"` // contains filtered or unexported fields }
func (*Settings) Descriptor
deprecated
func (*Settings) GetAllowedVaryHeaders ¶
func (x *Settings) GetAllowedVaryHeaders() []*v3.StringMatcher
func (*Settings) GetCachingServiceRef ¶
func (x *Settings) GetCachingServiceRef() *core.ResourceRef
func (*Settings) GetMaxPayloadSize ¶
func (x *Settings) GetMaxPayloadSize() *wrappers.UInt64Value
func (*Settings) GetTimeout ¶
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
func (*Settings) ProtoReflect ¶
func (x *Settings) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.