Documentation ¶
Index ¶
- Variables
- type TcpProtocolOptions
- func (x *TcpProtocolOptions) ClearIdleTimeout()
- func (x *TcpProtocolOptions) GetIdleTimeout() *durationpb.Duration
- func (x *TcpProtocolOptions) HasIdleTimeout() bool
- func (*TcpProtocolOptions) ProtoMessage()
- func (x *TcpProtocolOptions) ProtoReflect() protoreflect.Message
- func (x *TcpProtocolOptions) Reset()
- func (x *TcpProtocolOptions) SetIdleTimeout(v *durationpb.Duration)
- func (x *TcpProtocolOptions) String() string
- type TcpProtocolOptions_builder
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 ¶
func (b0 TcpProtocolOptions_builder) Build() *TcpProtocolOptions
Click to show internal directories.
Click to hide internal directories.