Documentation ¶
Index ¶
- Variables
- type ClusterLoadAssignment
- func (*ClusterLoadAssignment) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterLoadAssignment) GetClusterName() string
- func (x *ClusterLoadAssignment) GetEndpoints() []*LocalityLbEndpoints
- func (*ClusterLoadAssignment) ProtoMessage()
- func (x *ClusterLoadAssignment) ProtoReflect() protoreflect.Message
- func (x *ClusterLoadAssignment) Reset()
- func (x *ClusterLoadAssignment) String() string
- type Endpoint
- type LocalityLbEndpoints
- func (*LocalityLbEndpoints) Descriptor() ([]byte, []int)deprecated
- func (x *LocalityLbEndpoints) GetConnectNum() uint32
- func (x *LocalityLbEndpoints) GetLbEndpoints() []*Endpoint
- func (x *LocalityLbEndpoints) GetLoadBalancingWeight() uint32
- func (x *LocalityLbEndpoints) GetPriority() uint32
- func (*LocalityLbEndpoints) ProtoMessage()
- func (x *LocalityLbEndpoints) ProtoReflect() protoreflect.Message
- func (x *LocalityLbEndpoints) Reset()
- func (x *LocalityLbEndpoints) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_api_endpoint_endpoint_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ClusterLoadAssignment ¶
type ClusterLoadAssignment struct { ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` Endpoints []*LocalityLbEndpoints `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints,omitempty"` // contains filtered or unexported fields }
func (*ClusterLoadAssignment) Descriptor
deprecated
func (*ClusterLoadAssignment) Descriptor() ([]byte, []int)
Deprecated: Use ClusterLoadAssignment.ProtoReflect.Descriptor instead.
func (*ClusterLoadAssignment) GetClusterName ¶
func (x *ClusterLoadAssignment) GetClusterName() string
func (*ClusterLoadAssignment) GetEndpoints ¶
func (x *ClusterLoadAssignment) GetEndpoints() []*LocalityLbEndpoints
func (*ClusterLoadAssignment) ProtoMessage ¶
func (*ClusterLoadAssignment) ProtoMessage()
func (*ClusterLoadAssignment) ProtoReflect ¶
func (x *ClusterLoadAssignment) ProtoReflect() protoreflect.Message
func (*ClusterLoadAssignment) Reset ¶
func (x *ClusterLoadAssignment) Reset()
func (*ClusterLoadAssignment) String ¶
func (x *ClusterLoadAssignment) String() string
type Endpoint ¶
type Endpoint struct { Address *core.SocketAddress `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*Endpoint) Descriptor
deprecated
func (*Endpoint) GetAddress ¶
func (x *Endpoint) GetAddress() *core.SocketAddress
func (*Endpoint) ProtoMessage ¶
func (*Endpoint) ProtoMessage()
func (*Endpoint) ProtoReflect ¶
func (x *Endpoint) ProtoReflect() protoreflect.Message
type LocalityLbEndpoints ¶
type LocalityLbEndpoints struct { LbEndpoints []*Endpoint `protobuf:"bytes,1,rep,name=lb_endpoints,json=lbEndpoints,proto3" json:"lb_endpoints,omitempty"` LoadBalancingWeight uint32 `protobuf:"varint,3,opt,name=load_balancing_weight,json=loadBalancingWeight,proto3" json:"load_balancing_weight,omitempty"` Priority uint32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"` ConnectNum uint32 `protobuf:"varint,11,opt,name=connect_num,json=connectNum,proto3" json:"connect_num,omitempty"` // contains filtered or unexported fields }
func (*LocalityLbEndpoints) Descriptor
deprecated
func (*LocalityLbEndpoints) Descriptor() ([]byte, []int)
Deprecated: Use LocalityLbEndpoints.ProtoReflect.Descriptor instead.
func (*LocalityLbEndpoints) GetConnectNum ¶
func (x *LocalityLbEndpoints) GetConnectNum() uint32
func (*LocalityLbEndpoints) GetLbEndpoints ¶
func (x *LocalityLbEndpoints) GetLbEndpoints() []*Endpoint
func (*LocalityLbEndpoints) GetLoadBalancingWeight ¶
func (x *LocalityLbEndpoints) GetLoadBalancingWeight() uint32
func (*LocalityLbEndpoints) GetPriority ¶
func (x *LocalityLbEndpoints) GetPriority() uint32
func (*LocalityLbEndpoints) ProtoMessage ¶
func (*LocalityLbEndpoints) ProtoMessage()
func (*LocalityLbEndpoints) ProtoReflect ¶
func (x *LocalityLbEndpoints) ProtoReflect() protoreflect.Message
func (*LocalityLbEndpoints) Reset ¶
func (x *LocalityLbEndpoints) Reset()
func (*LocalityLbEndpoints) String ¶
func (x *LocalityLbEndpoints) String() string
Click to show internal directories.
Click to hide internal directories.