downstream_connectionsv3

package
v0.0.0-...-5360bea Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_resource_monitors_downstream_connections_v3_downstream_connections_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DownstreamConnectionsConfig

type DownstreamConnectionsConfig struct {

	// Maximum threshold for global open downstream connections, defaults to 0.
	// If monitor is enabled in Overload manager api, this field should be explicitly configured with value greater than 0.
	MaxActiveDownstreamConnections int64 `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

The downstream connections resource monitor tracks the global number of open downstream connections.

func (*DownstreamConnectionsConfig) Descriptor deprecated

func (*DownstreamConnectionsConfig) Descriptor() ([]byte, []int)

Deprecated: Use DownstreamConnectionsConfig.ProtoReflect.Descriptor instead.

func (*DownstreamConnectionsConfig) GetMaxActiveDownstreamConnections

func (x *DownstreamConnectionsConfig) GetMaxActiveDownstreamConnections() int64

func (*DownstreamConnectionsConfig) ProtoMessage

func (*DownstreamConnectionsConfig) ProtoMessage()

func (*DownstreamConnectionsConfig) ProtoReflect

func (*DownstreamConnectionsConfig) Reset

func (x *DownstreamConnectionsConfig) Reset()

func (*DownstreamConnectionsConfig) String

func (x *DownstreamConnectionsConfig) String() string

func (*DownstreamConnectionsConfig) Validate

func (m *DownstreamConnectionsConfig) Validate() error

Validate checks the field values on DownstreamConnectionsConfig with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DownstreamConnectionsConfig) ValidateAll

func (m *DownstreamConnectionsConfig) ValidateAll() error

ValidateAll checks the field values on DownstreamConnectionsConfig with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownstreamConnectionsConfigMultiError, or nil if none found.

type DownstreamConnectionsConfigMultiError

type DownstreamConnectionsConfigMultiError []error

DownstreamConnectionsConfigMultiError is an error wrapping multiple validation errors returned by DownstreamConnectionsConfig.ValidateAll() if the designated constraints aren't met.

func (DownstreamConnectionsConfigMultiError) AllErrors

AllErrors returns a list of validation violation errors.

func (DownstreamConnectionsConfigMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type DownstreamConnectionsConfigValidationError

type DownstreamConnectionsConfigValidationError struct {
	// contains filtered or unexported fields
}

DownstreamConnectionsConfigValidationError is the validation error returned by DownstreamConnectionsConfig.Validate if the designated constraints aren't met.

func (DownstreamConnectionsConfigValidationError) Cause

Cause function returns cause value.

func (DownstreamConnectionsConfigValidationError) Error

Error satisfies the builtin error interface

func (DownstreamConnectionsConfigValidationError) ErrorName

ErrorName returns error name.

func (DownstreamConnectionsConfigValidationError) Field

Field function returns field value.

func (DownstreamConnectionsConfigValidationError) Key

Key function returns key value.

func (DownstreamConnectionsConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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