Documentation ¶
Index ¶
- Variables
- type AffinityConfig
- func (*AffinityConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AffinityConfig) GetAffinityKey() string
- func (x *AffinityConfig) GetCommand() AffinityConfig_Command
- func (*AffinityConfig) ProtoMessage()
- func (x *AffinityConfig) ProtoReflect() protoreflect.Message
- func (x *AffinityConfig) Reset()
- func (x *AffinityConfig) String() string
- type AffinityConfig_Command
- func (AffinityConfig_Command) Descriptor() protoreflect.EnumDescriptor
- func (x AffinityConfig_Command) Enum() *AffinityConfig_Command
- func (AffinityConfig_Command) EnumDescriptor() ([]byte, []int)deprecated
- func (x AffinityConfig_Command) Number() protoreflect.EnumNumber
- func (x AffinityConfig_Command) String() string
- func (AffinityConfig_Command) Type() protoreflect.EnumType
- type ApiConfig
- func (*ApiConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ApiConfig) GetChannelPool() *ChannelPoolConfig
- func (x *ApiConfig) GetMethod() []*MethodConfig
- func (*ApiConfig) ProtoMessage()
- func (x *ApiConfig) ProtoReflect() protoreflect.Message
- func (x *ApiConfig) Reset()
- func (x *ApiConfig) String() string
- type ChannelPoolConfig
- func (*ChannelPoolConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ChannelPoolConfig) GetIdleTimeout() uint64
- func (x *ChannelPoolConfig) GetMaxConcurrentStreamsLowWatermark() uint32
- func (x *ChannelPoolConfig) GetMaxSize() uint32
- func (*ChannelPoolConfig) ProtoMessage()
- func (x *ChannelPoolConfig) ProtoReflect() protoreflect.Message
- func (x *ChannelPoolConfig) Reset()
- func (x *ChannelPoolConfig) String() string
- type MethodConfig
- func (*MethodConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MethodConfig) GetAffinity() *AffinityConfig
- func (x *MethodConfig) GetName() []string
- func (*MethodConfig) ProtoMessage()
- func (x *MethodConfig) ProtoReflect() protoreflect.Message
- func (x *MethodConfig) Reset()
- func (x *MethodConfig) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AffinityConfig_Command_name = map[int32]string{ 0: "BOUND", 1: "BIND", 2: "UNBIND", } AffinityConfig_Command_value = map[string]int32{ "BOUND": 0, "BIND": 1, "UNBIND": 2, } )
Enum value maps for AffinityConfig_Command.
View Source
var File_go_pkg_balancer_proto_grpcbalancer_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AffinityConfig ¶
type AffinityConfig struct { Command AffinityConfig_Command `protobuf:"varint,2,opt,name=command,proto3,enum=grpcbalancer.AffinityConfig_Command" json:"command,omitempty"` AffinityKey string `protobuf:"bytes,3,opt,name=affinity_key,json=affinityKey,proto3" json:"affinity_key,omitempty"` // contains filtered or unexported fields }
func (*AffinityConfig) Descriptor
deprecated
func (*AffinityConfig) Descriptor() ([]byte, []int)
Deprecated: Use AffinityConfig.ProtoReflect.Descriptor instead.
func (*AffinityConfig) GetAffinityKey ¶
func (x *AffinityConfig) GetAffinityKey() string
func (*AffinityConfig) GetCommand ¶
func (x *AffinityConfig) GetCommand() AffinityConfig_Command
func (*AffinityConfig) ProtoMessage ¶
func (*AffinityConfig) ProtoMessage()
func (*AffinityConfig) ProtoReflect ¶
func (x *AffinityConfig) ProtoReflect() protoreflect.Message
func (*AffinityConfig) Reset ¶
func (x *AffinityConfig) Reset()
func (*AffinityConfig) String ¶
func (x *AffinityConfig) String() string
type AffinityConfig_Command ¶
type AffinityConfig_Command int32
const ( AffinityConfig_BOUND AffinityConfig_Command = 0 AffinityConfig_BIND AffinityConfig_Command = 1 AffinityConfig_UNBIND AffinityConfig_Command = 2 )
func (AffinityConfig_Command) Descriptor ¶
func (AffinityConfig_Command) Descriptor() protoreflect.EnumDescriptor
func (AffinityConfig_Command) Enum ¶
func (x AffinityConfig_Command) Enum() *AffinityConfig_Command
func (AffinityConfig_Command) EnumDescriptor
deprecated
func (AffinityConfig_Command) EnumDescriptor() ([]byte, []int)
Deprecated: Use AffinityConfig_Command.Descriptor instead.
func (AffinityConfig_Command) Number ¶
func (x AffinityConfig_Command) Number() protoreflect.EnumNumber
func (AffinityConfig_Command) String ¶
func (x AffinityConfig_Command) String() string
func (AffinityConfig_Command) Type ¶
func (AffinityConfig_Command) Type() protoreflect.EnumType
type ApiConfig ¶
type ApiConfig struct { ChannelPool *ChannelPoolConfig `protobuf:"bytes,2,opt,name=channel_pool,json=channelPool,proto3" json:"channel_pool,omitempty"` Method []*MethodConfig `protobuf:"bytes,1001,rep,name=method,proto3" json:"method,omitempty"` // contains filtered or unexported fields }
func (*ApiConfig) Descriptor
deprecated
func (*ApiConfig) GetChannelPool ¶
func (x *ApiConfig) GetChannelPool() *ChannelPoolConfig
func (*ApiConfig) GetMethod ¶
func (x *ApiConfig) GetMethod() []*MethodConfig
func (*ApiConfig) ProtoMessage ¶
func (*ApiConfig) ProtoMessage()
func (*ApiConfig) ProtoReflect ¶
func (x *ApiConfig) ProtoReflect() protoreflect.Message
type ChannelPoolConfig ¶
type ChannelPoolConfig struct { MaxSize uint32 `protobuf:"varint,1,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"` IdleTimeout uint64 `protobuf:"varint,2,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"` MaxConcurrentStreamsLowWatermark uint32 `` /* 164-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ChannelPoolConfig) Descriptor
deprecated
func (*ChannelPoolConfig) Descriptor() ([]byte, []int)
Deprecated: Use ChannelPoolConfig.ProtoReflect.Descriptor instead.
func (*ChannelPoolConfig) GetIdleTimeout ¶
func (x *ChannelPoolConfig) GetIdleTimeout() uint64
func (*ChannelPoolConfig) GetMaxConcurrentStreamsLowWatermark ¶
func (x *ChannelPoolConfig) GetMaxConcurrentStreamsLowWatermark() uint32
func (*ChannelPoolConfig) GetMaxSize ¶
func (x *ChannelPoolConfig) GetMaxSize() uint32
func (*ChannelPoolConfig) ProtoMessage ¶
func (*ChannelPoolConfig) ProtoMessage()
func (*ChannelPoolConfig) ProtoReflect ¶
func (x *ChannelPoolConfig) ProtoReflect() protoreflect.Message
func (*ChannelPoolConfig) Reset ¶
func (x *ChannelPoolConfig) Reset()
func (*ChannelPoolConfig) String ¶
func (x *ChannelPoolConfig) String() string
type MethodConfig ¶
type MethodConfig struct { Name []string `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"` Affinity *AffinityConfig `protobuf:"bytes,1001,opt,name=affinity,proto3" json:"affinity,omitempty"` // contains filtered or unexported fields }
func (*MethodConfig) Descriptor
deprecated
func (*MethodConfig) Descriptor() ([]byte, []int)
Deprecated: Use MethodConfig.ProtoReflect.Descriptor instead.
func (*MethodConfig) GetAffinity ¶
func (x *MethodConfig) GetAffinity() *AffinityConfig
func (*MethodConfig) GetName ¶
func (x *MethodConfig) GetName() []string
func (*MethodConfig) ProtoMessage ¶
func (*MethodConfig) ProtoMessage()
func (*MethodConfig) ProtoReflect ¶
func (x *MethodConfig) ProtoReflect() protoreflect.Message
func (*MethodConfig) Reset ¶
func (x *MethodConfig) Reset()
func (*MethodConfig) String ¶
func (x *MethodConfig) String() string
Click to show internal directories.
Click to hide internal directories.