envoy_extensions_transport_sockets_starttls_v3

package
v2.5.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_envoy_extensions_transport_sockets_starttls_v3_starttls_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type StartTlsConfig

type StartTlsConfig struct {

	// (optional) Configuration for clear-text socket used at the beginning of the session.
	CleartextSocketConfig *v3.RawBuffer `` /* 126-byte string literal not displayed */
	// Configuration for TLS socket.
	TlsSocketConfig *v31.DownstreamTlsContext `protobuf:"bytes,2,opt,name=tls_socket_config,json=tlsSocketConfig,proto3" json:"tls_socket_config,omitempty"`
	// contains filtered or unexported fields
}

Configuration for StartTls transport socket. StartTls transport socket wraps two sockets: - raw_buffer socket which is used at the beginning of the session - TLS socket used when a protocol negotiates a switch to encrypted traffic.

func (*StartTlsConfig) Descriptor deprecated

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

Deprecated: Use StartTlsConfig.ProtoReflect.Descriptor instead.

func (*StartTlsConfig) GetCleartextSocketConfig

func (x *StartTlsConfig) GetCleartextSocketConfig() *v3.RawBuffer

func (*StartTlsConfig) GetTlsSocketConfig

func (x *StartTlsConfig) GetTlsSocketConfig() *v31.DownstreamTlsContext

func (*StartTlsConfig) ProtoMessage

func (*StartTlsConfig) ProtoMessage()

func (*StartTlsConfig) ProtoReflect

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

func (*StartTlsConfig) Reset

func (x *StartTlsConfig) Reset()

func (*StartTlsConfig) String

func (x *StartTlsConfig) String() string

func (*StartTlsConfig) Validate

func (m *StartTlsConfig) Validate() error

Validate checks the field values on StartTlsConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type StartTlsConfigValidationError

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

StartTlsConfigValidationError is the validation error returned by StartTlsConfig.Validate if the designated constraints aren't met.

func (StartTlsConfigValidationError) Cause

Cause function returns cause value.

func (StartTlsConfigValidationError) Error

Error satisfies the builtin error interface

func (StartTlsConfigValidationError) ErrorName

func (e StartTlsConfigValidationError) ErrorName() string

ErrorName returns error name.

func (StartTlsConfigValidationError) Field

Field function returns field value.

func (StartTlsConfigValidationError) Key

Key function returns key value.

func (StartTlsConfigValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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