Documentation ¶
Index ¶
- Variables
- type DownstreamConnectionsConfig
- func (*DownstreamConnectionsConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DownstreamConnectionsConfig) GetMaxActiveDownstreamConnections() int64
- func (*DownstreamConnectionsConfig) ProtoMessage()
- func (x *DownstreamConnectionsConfig) ProtoReflect() protoreflect.Message
- func (x *DownstreamConnectionsConfig) Reset()
- func (x *DownstreamConnectionsConfig) String() string
- func (m *DownstreamConnectionsConfig) Validate() error
- func (m *DownstreamConnectionsConfig) ValidateAll() error
- type DownstreamConnectionsConfigMultiError
- type DownstreamConnectionsConfigValidationError
- func (e DownstreamConnectionsConfigValidationError) Cause() error
- func (e DownstreamConnectionsConfigValidationError) Error() string
- func (e DownstreamConnectionsConfigValidationError) ErrorName() string
- func (e DownstreamConnectionsConfigValidationError) Field() string
- func (e DownstreamConnectionsConfigValidationError) Key() bool
- func (e DownstreamConnectionsConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
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 (x *DownstreamConnectionsConfig) ProtoReflect() protoreflect.Message
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 ¶
func (m DownstreamConnectionsConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownstreamConnectionsConfigMultiError) Error ¶
func (m DownstreamConnectionsConfigMultiError) Error() string
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 ¶
func (e DownstreamConnectionsConfigValidationError) Cause() error
Cause function returns cause value.
func (DownstreamConnectionsConfigValidationError) Error ¶
func (e DownstreamConnectionsConfigValidationError) Error() string
Error satisfies the builtin error interface
func (DownstreamConnectionsConfigValidationError) ErrorName ¶
func (e DownstreamConnectionsConfigValidationError) ErrorName() string
ErrorName returns error name.
func (DownstreamConnectionsConfigValidationError) Field ¶
func (e DownstreamConnectionsConfigValidationError) Field() string
Field function returns field value.
func (DownstreamConnectionsConfigValidationError) Key ¶
func (e DownstreamConnectionsConfigValidationError) Key() bool
Key function returns key value.
func (DownstreamConnectionsConfigValidationError) Reason ¶
func (e DownstreamConnectionsConfigValidationError) Reason() string
Reason function returns reason value.