connection_limitv3

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_filters_network_connection_limit_v3_connection_limit_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConnectionLimit

type ConnectionLimit struct {

	// The prefix to use when emitting :ref:`statistics
	// <config_network_filters_connection_limit_stats>`.
	StatPrefix string `protobuf:"bytes,1,opt,name=stat_prefix,json=statPrefix,proto3" json:"stat_prefix,omitempty"`
	// The max connections configuration to use for new incoming connections that are processed
	// by the filter's filter chain. When max_connection is reached, the incoming connection
	// will be closed after delay duration.
	MaxConnections *wrapperspb.UInt64Value `protobuf:"bytes,2,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"`
	// The delay configuration to use for rejecting the connection after some specified time duration
	// instead of immediately rejecting the connection. That way, a malicious user is not able to
	// retry as fast as possible which provides a better DoS protection for Envoy. If this is not present,
	// the connection will be closed immediately.
	Delay *durationpb.Duration `protobuf:"bytes,3,opt,name=delay,proto3" json:"delay,omitempty"`
	// Runtime flag that controls whether the filter is enabled or not. If not specified, defaults
	// to enabled.
	RuntimeEnabled *v3.RuntimeFeatureFlag `protobuf:"bytes,4,opt,name=runtime_enabled,json=runtimeEnabled,proto3" json:"runtime_enabled,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionLimit) Descriptor deprecated

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

Deprecated: Use ConnectionLimit.ProtoReflect.Descriptor instead.

func (*ConnectionLimit) GetDelay

func (x *ConnectionLimit) GetDelay() *durationpb.Duration

func (*ConnectionLimit) GetMaxConnections

func (x *ConnectionLimit) GetMaxConnections() *wrapperspb.UInt64Value

func (*ConnectionLimit) GetRuntimeEnabled

func (x *ConnectionLimit) GetRuntimeEnabled() *v3.RuntimeFeatureFlag

func (*ConnectionLimit) GetStatPrefix

func (x *ConnectionLimit) GetStatPrefix() string

func (*ConnectionLimit) ProtoMessage

func (*ConnectionLimit) ProtoMessage()

func (*ConnectionLimit) ProtoReflect

func (x *ConnectionLimit) ProtoReflect() protoreflect.Message

func (*ConnectionLimit) Reset

func (x *ConnectionLimit) Reset()

func (*ConnectionLimit) String

func (x *ConnectionLimit) String() string

Jump to

Keyboard shortcuts

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