Documentation ¶
Index ¶
- Variables
- type MinimumClustersValidator
- func (*MinimumClustersValidator) Descriptor() ([]byte, []int)deprecated
- func (x *MinimumClustersValidator) GetMinClustersNum() uint32
- func (*MinimumClustersValidator) ProtoMessage()
- func (x *MinimumClustersValidator) ProtoReflect() protoreflect.Message
- func (x *MinimumClustersValidator) Reset()
- func (x *MinimumClustersValidator) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_envoy_extensions_config_validators_minimum_clusters_v3_minimum_clusters_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type MinimumClustersValidator ¶
type MinimumClustersValidator struct { // The minimal clusters threshold. Any CDS config update leading to less than // this number will be rejected. // Default value is 0. MinClustersNum uint32 `protobuf:"varint,1,opt,name=min_clusters_num,json=minClustersNum,proto3" json:"min_clusters_num,omitempty"` // contains filtered or unexported fields }
Validates a CDS config, and ensures that the number of clusters is above the set threshold.
func (*MinimumClustersValidator) Descriptor
deprecated
func (*MinimumClustersValidator) Descriptor() ([]byte, []int)
Deprecated: Use MinimumClustersValidator.ProtoReflect.Descriptor instead.
func (*MinimumClustersValidator) GetMinClustersNum ¶
func (x *MinimumClustersValidator) GetMinClustersNum() uint32
func (*MinimumClustersValidator) ProtoMessage ¶
func (*MinimumClustersValidator) ProtoMessage()
func (*MinimumClustersValidator) ProtoReflect ¶
func (x *MinimumClustersValidator) ProtoReflect() protoreflect.Message
func (*MinimumClustersValidator) Reset ¶
func (x *MinimumClustersValidator) Reset()
func (*MinimumClustersValidator) String ¶
func (x *MinimumClustersValidator) String() string
Click to show internal directories.
Click to hide internal directories.