minimum_clustersv3

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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