Documentation ¶
Index ¶
- Variables
- type ConnectionLimit
- func (m *ConnectionLimit) Clone() proto.Message
- func (*ConnectionLimit) Descriptor() ([]byte, []int)deprecated
- func (m *ConnectionLimit) Equal(that interface{}) bool
- func (x *ConnectionLimit) GetDelayBeforeClose() *duration.Duration
- func (x *ConnectionLimit) GetMaxActiveConnections() *wrappers.UInt64Value
- func (m *ConnectionLimit) Hash(hasher hash.Hash64) (uint64, error)
- func (*ConnectionLimit) ProtoMessage()
- func (x *ConnectionLimit) ProtoReflect() protoreflect.Message
- func (x *ConnectionLimit) Reset()
- func (x *ConnectionLimit) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_github_com_solo_io_gloo_projects_gloo_api_v1_options_connection_limit_connection_limit_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ConnectionLimit ¶
type ConnectionLimit struct { // The maximum number of active connections for this gateway. When this limit is reached, any incoming connection // will be closed after delay duration. // Must be greater than one. MaxActiveConnections *wrappers.UInt64Value `protobuf:"bytes,1,opt,name=max_active_connections,json=maxActiveConnections,proto3" json:"max_active_connections,omitempty"` // The time to wait before a connection is dropped. Useful for DoS prevention. // Defaults to zero and the connection will be closed immediately. DelayBeforeClose *duration.Duration `protobuf:"bytes,2,opt,name=delay_before_close,json=delayBeforeClose,proto3" json:"delay_before_close,omitempty"` // contains filtered or unexported fields }
These options provide the ability to limit the active connections in envoy. Ref. https://www.envoyproxy.io/docs/envoy/latest/configuration/listeners/network_filters/connection_limit_filter
func (*ConnectionLimit) Descriptor
deprecated
func (*ConnectionLimit) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionLimit.ProtoReflect.Descriptor instead.
func (*ConnectionLimit) Equal ¶
func (m *ConnectionLimit) Equal(that interface{}) bool
Equal function
func (*ConnectionLimit) GetDelayBeforeClose ¶
func (x *ConnectionLimit) GetDelayBeforeClose() *duration.Duration
func (*ConnectionLimit) GetMaxActiveConnections ¶
func (x *ConnectionLimit) GetMaxActiveConnections() *wrappers.UInt64Value
func (*ConnectionLimit) Hash ¶
func (m *ConnectionLimit) Hash(hasher hash.Hash64) (uint64, error)
Hash function
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
Click to show internal directories.
Click to hide internal directories.