tcpv3

package
v0.0.0-...-5aed767 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

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) Descriptor deprecated

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

Deprecated: Use TcpProtocolOptions.ProtoReflect.Descriptor instead.

func (*TcpProtocolOptions) GetIdleTimeout

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

func (*TcpProtocolOptions) ProtoMessage

func (*TcpProtocolOptions) ProtoMessage()

func (*TcpProtocolOptions) ProtoReflect

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

func (*TcpProtocolOptions) Reset

func (x *TcpProtocolOptions) Reset()

func (*TcpProtocolOptions) String

func (x *TcpProtocolOptions) String() string

func (*TcpProtocolOptions) Validate

func (m *TcpProtocolOptions) Validate() error

Validate checks the field values on TcpProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TcpProtocolOptions) ValidateAll

func (m *TcpProtocolOptions) ValidateAll() error

ValidateAll checks the field values on TcpProtocolOptions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TcpProtocolOptionsMultiError, or nil if none found.

type TcpProtocolOptionsMultiError

type TcpProtocolOptionsMultiError []error

TcpProtocolOptionsMultiError is an error wrapping multiple validation errors returned by TcpProtocolOptions.ValidateAll() if the designated constraints aren't met.

func (TcpProtocolOptionsMultiError) AllErrors

func (m TcpProtocolOptionsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TcpProtocolOptionsMultiError) Error

Error returns a concatenation of all the error messages it wraps.

type TcpProtocolOptionsValidationError

type TcpProtocolOptionsValidationError struct {
	// contains filtered or unexported fields
}

TcpProtocolOptionsValidationError is the validation error returned by TcpProtocolOptions.Validate if the designated constraints aren't met.

func (TcpProtocolOptionsValidationError) Cause

Cause function returns cause value.

func (TcpProtocolOptionsValidationError) Error

Error satisfies the builtin error interface

func (TcpProtocolOptionsValidationError) ErrorName

ErrorName returns error name.

func (TcpProtocolOptionsValidationError) Field

Field function returns field value.

func (TcpProtocolOptionsValidationError) Key

Key function returns key value.

func (TcpProtocolOptionsValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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