minimum_clustersv3

package
v1.33.0-20240426201503... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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