grpc

package
v1.18.0-beta17 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_solo_io_gloo_projects_gloo_api_external_envoy_extensions_cache_grpc_config_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GrpcCacheConfig

type GrpcCacheConfig struct {

	// A GRPC service: this maps exactly to envoy GRPC service defintions
	Service *v3.GrpcService `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
	// Connection timeout  for retrieval from cache
	Timeout *duration.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Max payload size to cache. This may be set to protect against large
	// requests or responses by not caching them.
	MaxPayloadSize uint64 `protobuf:"varint,3,opt,name=max_payload_size,json=maxPayloadSize,proto3" json:"max_payload_size,omitempty"`
	// contains filtered or unexported fields
}

[#proto-status: experimental]

func (*GrpcCacheConfig) Descriptor deprecated

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

Deprecated: Use GrpcCacheConfig.ProtoReflect.Descriptor instead.

func (*GrpcCacheConfig) GetMaxPayloadSize

func (x *GrpcCacheConfig) GetMaxPayloadSize() uint64

func (*GrpcCacheConfig) GetService

func (x *GrpcCacheConfig) GetService() *v3.GrpcService

func (*GrpcCacheConfig) GetTimeout

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

func (*GrpcCacheConfig) ProtoMessage

func (*GrpcCacheConfig) ProtoMessage()

func (*GrpcCacheConfig) ProtoReflect

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

func (*GrpcCacheConfig) Reset

func (x *GrpcCacheConfig) Reset()

func (*GrpcCacheConfig) String

func (x *GrpcCacheConfig) String() string

Jump to

Keyboard shortcuts

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