caching

package
v1.17.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

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.UInt32Value `protobuf:"bytes,4,opt,name=max_payload_size,json=maxPayloadSize,proto3" json:"max_payload_size,omitempty"`
	// contains filtered or unexported fields
}

func (*Settings) Clone

func (m *Settings) Clone() proto.Message

Clone function

func (*Settings) Descriptor deprecated

func (*Settings) Descriptor() ([]byte, []int)

Deprecated: Use Settings.ProtoReflect.Descriptor instead.

func (*Settings) Equal

func (m *Settings) Equal(that interface{}) bool

Equal function

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.UInt32Value

func (*Settings) GetTimeout

func (x *Settings) GetTimeout() *duration.Duration

func (*Settings) Hash

func (m *Settings) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*Settings) ProtoMessage

func (*Settings) ProtoMessage()

func (*Settings) ProtoReflect

func (x *Settings) ProtoReflect() protoreflect.Message

func (*Settings) Reset

func (x *Settings) Reset()

func (*Settings) String

func (x *Settings) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL