tcp

package
v1.3.30 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2020 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TcpProxySettings

type TcpProxySettings struct {
	MaxConnectAttempts   *types.UInt32Value `protobuf:"bytes,1,opt,name=max_connect_attempts,json=maxConnectAttempts,proto3" json:"max_connect_attempts,omitempty"`
	IdleTimeout          *time.Duration     `protobuf:"bytes,2,opt,name=idle_timeout,json=idleTimeout,proto3,stdduration" json:"idle_timeout,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

Contains various settings for Envoy's tcp proxy filter. See here for more information: https://www.envoyproxy.io/docs/envoy/v1.10.0/api-v2/config/filter/network/tcp_proxy/v2/tcp_proxy.proto#envoy-api-msg-config-filter-network-tcp-proxy-v2-tcpproxy

func (*TcpProxySettings) Descriptor

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

func (*TcpProxySettings) Equal

func (this *TcpProxySettings) Equal(that interface{}) bool

func (*TcpProxySettings) GetIdleTimeout

func (m *TcpProxySettings) GetIdleTimeout() *time.Duration

func (*TcpProxySettings) GetMaxConnectAttempts

func (m *TcpProxySettings) GetMaxConnectAttempts() *types.UInt32Value

func (*TcpProxySettings) Hash added in v1.2.13

func (m *TcpProxySettings) Hash(hasher hash.Hash64) (uint64, error)

Hash function

func (*TcpProxySettings) ProtoMessage

func (*TcpProxySettings) ProtoMessage()

func (*TcpProxySettings) Reset

func (m *TcpProxySettings) Reset()

func (*TcpProxySettings) String

func (m *TcpProxySettings) String() string

func (*TcpProxySettings) XXX_DiscardUnknown

func (m *TcpProxySettings) XXX_DiscardUnknown()

func (*TcpProxySettings) XXX_Marshal

func (m *TcpProxySettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TcpProxySettings) XXX_Merge

func (m *TcpProxySettings) XXX_Merge(src proto.Message)

func (*TcpProxySettings) XXX_Size

func (m *TcpProxySettings) XXX_Size() int

func (*TcpProxySettings) XXX_Unmarshal

func (m *TcpProxySettings) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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