tcpv3

package
v1.36.3-20240710202418... Latest Latest
Warning

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

Go to latest
Published: unknown License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_upstreams_tcp_v3_tcp_protocol_options_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type TcpProtocolOptions

type TcpProtocolOptions struct {

	// The idle timeout for the connection. The idle timeout is defined as the period in which
	// the connection is not associated with a downstream connection. When the idle timeout is
	// reached, the connection will be closed.
	//
	// If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
	//
	// .. warning::
	//
	//	Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
	//	FIN packets, etc.
	IdleTimeout *durationpb.Duration `protobuf:"bytes,1,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*TcpProtocolOptions) ClearIdleTimeout

func (x *TcpProtocolOptions) ClearIdleTimeout()

func (*TcpProtocolOptions) GetIdleTimeout

func (x *TcpProtocolOptions) GetIdleTimeout() *durationpb.Duration

func (*TcpProtocolOptions) HasIdleTimeout

func (x *TcpProtocolOptions) HasIdleTimeout() bool

func (*TcpProtocolOptions) ProtoMessage

func (*TcpProtocolOptions) ProtoMessage()

func (*TcpProtocolOptions) ProtoReflect

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

func (*TcpProtocolOptions) Reset

func (x *TcpProtocolOptions) Reset()

func (*TcpProtocolOptions) SetIdleTimeout

func (x *TcpProtocolOptions) SetIdleTimeout(v *durationpb.Duration)

func (*TcpProtocolOptions) String

func (x *TcpProtocolOptions) String() string

type TcpProtocolOptions_builder

type TcpProtocolOptions_builder struct {

	// The idle timeout for the connection. The idle timeout is defined as the period in which
	// the connection is not associated with a downstream connection. When the idle timeout is
	// reached, the connection will be closed.
	//
	// If not set, the default idle timeout is 10 minutes. To disable idle timeouts, explicitly set this to 0.
	//
	// .. warning::
	//
	//	Disabling this timeout has a highly likelihood of yielding connection leaks due to lost TCP
	//	FIN packets, etc.
	IdleTimeout *durationpb.Duration
	// contains filtered or unexported fields
}

func (TcpProtocolOptions_builder) Build

Jump to

Keyboard shortcuts

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