tcp

package
v1.14.0-beta6 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2023 License: Apache-2.0 Imports: 21 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 HeaderValue added in v1.9.25

type HeaderValue struct {

	// Header name.
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Header value.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Header name/value pair.

func (*HeaderValue) Clone added in v1.9.25

func (m *HeaderValue) Clone() proto.Message

Clone function

func (*HeaderValue) Descriptor deprecated added in v1.9.25

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

Deprecated: Use HeaderValue.ProtoReflect.Descriptor instead.

func (*HeaderValue) Equal added in v1.9.25

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

Equal function

func (*HeaderValue) GetKey added in v1.9.25

func (x *HeaderValue) GetKey() string

func (*HeaderValue) GetValue added in v1.9.25

func (x *HeaderValue) GetValue() string

func (*HeaderValue) Hash added in v1.9.25

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

Hash function

func (*HeaderValue) ProtoMessage added in v1.9.25

func (*HeaderValue) ProtoMessage()

func (*HeaderValue) ProtoReflect added in v1.9.25

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

func (*HeaderValue) Reset added in v1.9.25

func (x *HeaderValue) Reset()

func (*HeaderValue) String added in v1.9.25

func (x *HeaderValue) String() string

type HeaderValueOption added in v1.9.25

type HeaderValueOption struct {

	// Header name/value pair that this option applies to.
	Header *HeaderValue `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// If true (default), the value is appended to existing values.
	Append *wrappers.BoolValue `protobuf:"bytes,2,opt,name=append,proto3" json:"append,omitempty"`
	// contains filtered or unexported fields
}

Header name/value pair plus option to control append behavior.

func (*HeaderValueOption) Clone added in v1.9.25

func (m *HeaderValueOption) Clone() proto.Message

Clone function

func (*HeaderValueOption) Descriptor deprecated added in v1.9.25

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

Deprecated: Use HeaderValueOption.ProtoReflect.Descriptor instead.

func (*HeaderValueOption) Equal added in v1.9.25

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

Equal function

func (*HeaderValueOption) GetAppend added in v1.9.25

func (x *HeaderValueOption) GetAppend() *wrappers.BoolValue

func (*HeaderValueOption) GetHeader added in v1.9.25

func (x *HeaderValueOption) GetHeader() *HeaderValue

func (*HeaderValueOption) Hash added in v1.9.25

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

Hash function

func (*HeaderValueOption) ProtoMessage added in v1.9.25

func (*HeaderValueOption) ProtoMessage()

func (*HeaderValueOption) ProtoReflect added in v1.9.25

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

func (*HeaderValueOption) Reset added in v1.9.25

func (x *HeaderValueOption) Reset()

func (*HeaderValueOption) String added in v1.9.25

func (x *HeaderValueOption) String() string

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) Clone added in v1.8.24

func (m *TcpProxySettings) Clone() proto.Message

Clone function

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"`
	// Additional request headers to be sent to upstream proxy. Mainly used to
	// trigger upstream to convert POST request back to CONNECT requests.
	HeadersToAdd []*HeaderValueOption `protobuf:"bytes,13,rep,name=headers_to_add,json=headersToAdd,proto3" json:"headers_to_add,omitempty"`
	// contains filtered or unexported fields
}

Configuration for tunneling TCP over other transports or application layers.

func (*TcpProxySettings_TunnelingConfig) Clone added in v1.8.24

Clone function

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) GetHeadersToAdd added in v1.9.25

func (x *TcpProxySettings_TunnelingConfig) GetHeadersToAdd() []*HeaderValueOption

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