tcp

package
v1.7.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_solo_io_gloo_projects_gloo_api_v1_options_tcp_tcp_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type TcpProxySettings

type TcpProxySettings struct {
	MaxConnectAttempts *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=max_connect_attempts,json=maxConnectAttempts,proto3" json:"max_connect_attempts,omitempty"`
	IdleTimeout        *duration.Duration    `protobuf:"bytes,2,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
	// If set, this configures tunneling, e.g. configuration options to tunnel multiple TCP
	// payloads over a shared HTTP tunnel. If this message is absent, the payload
	// will be proxied upstream as per usual.
	TunnelingConfig *TcpProxySettings_TunnelingConfig `protobuf:"bytes,12,opt,name=tunneling_config,json=tunnelingConfig,proto3" json:"tunneling_config,omitempty"`
	// contains filtered or unexported fields
}

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 deprecated

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

Deprecated: Use TcpProxySettings.ProtoReflect.Descriptor instead.

func (*TcpProxySettings) Equal

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

Equal function

func (*TcpProxySettings) GetIdleTimeout

func (x *TcpProxySettings) GetIdleTimeout() *duration.Duration

func (*TcpProxySettings) GetMaxConnectAttempts

func (x *TcpProxySettings) GetMaxConnectAttempts() *wrappers.UInt32Value

func (*TcpProxySettings) GetTunnelingConfig added in v1.6.10

func (x *TcpProxySettings) GetTunnelingConfig() *TcpProxySettings_TunnelingConfig

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) ProtoReflect added in v1.6.0

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

func (*TcpProxySettings) Reset

func (x *TcpProxySettings) Reset()

func (*TcpProxySettings) String

func (x *TcpProxySettings) String() string

type TcpProxySettings_TunnelingConfig added in v1.6.10

type TcpProxySettings_TunnelingConfig struct {

	// The hostname to send in the synthesized CONNECT headers to the upstream proxy.
	Hostname string `protobuf:"bytes,1,opt,name=hostname,proto3" json:"hostname,omitempty"`
	// contains filtered or unexported fields
}

Configuration for tunneling TCP over other transports or application layers.

func (*TcpProxySettings_TunnelingConfig) Descriptor deprecated added in v1.6.10

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

Deprecated: Use TcpProxySettings_TunnelingConfig.ProtoReflect.Descriptor instead.

func (*TcpProxySettings_TunnelingConfig) Equal added in v1.6.10

func (m *TcpProxySettings_TunnelingConfig) Equal(that interface{}) bool

Equal function

func (*TcpProxySettings_TunnelingConfig) GetHostname added in v1.6.10

func (x *TcpProxySettings_TunnelingConfig) GetHostname() string

func (*TcpProxySettings_TunnelingConfig) Hash added in v1.6.10

Hash function

func (*TcpProxySettings_TunnelingConfig) ProtoMessage added in v1.6.10

func (*TcpProxySettings_TunnelingConfig) ProtoMessage()

func (*TcpProxySettings_TunnelingConfig) ProtoReflect added in v1.6.10

func (*TcpProxySettings_TunnelingConfig) Reset added in v1.6.10

func (*TcpProxySettings_TunnelingConfig) String added in v1.6.10

Jump to

Keyboard shortcuts

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