package envoy_extensions_transport_sockets_starttls_v4alpha

import "github.com/envoyproxy/go-control-plane/envoy/extensions/transport_sockets/starttls/v4alpha"

Index

Variables

var File_envoy_extensions_transport_sockets_starttls_v4alpha_starttls_proto protoreflect.FileDescriptor

Types

type StartTlsConfig

type StartTlsConfig struct {

	// (optional) Configuration for clear-text socket used at the beginning of the session.
	CleartextSocketConfig *v3.RawBuffer `protobuf:"bytes,1,opt,name=cleartext_socket_config,json=cleartextSocketConfig,proto3" json:"cleartext_socket_config,omitempty"`
	// Configuration for a downstream TLS socket.
	TlsSocketConfig *v4alpha.DownstreamTlsContext `protobuf:"bytes,2,opt,name=tls_socket_config,json=tlsSocketConfig,proto3" json:"tls_socket_config,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a downstream 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

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() *v4alpha.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.

type UpstreamStartTlsConfig

type UpstreamStartTlsConfig struct {

	// (optional) Configuration for clear-text socket used at the beginning of the session.
	CleartextSocketConfig *v3.RawBuffer `protobuf:"bytes,1,opt,name=cleartext_socket_config,json=cleartextSocketConfig,proto3" json:"cleartext_socket_config,omitempty"`
	// Configuration for an upstream TLS socket.
	TlsSocketConfig *v4alpha.UpstreamTlsContext `protobuf:"bytes,2,opt,name=tls_socket_config,json=tlsSocketConfig,proto3" json:"tls_socket_config,omitempty"`
	// contains filtered or unexported fields
}

Configuration for an upstream 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 (*UpstreamStartTlsConfig) Descriptor

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

Deprecated: Use UpstreamStartTlsConfig.ProtoReflect.Descriptor instead.

func (*UpstreamStartTlsConfig) GetCleartextSocketConfig

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

func (*UpstreamStartTlsConfig) GetTlsSocketConfig

func (x *UpstreamStartTlsConfig) GetTlsSocketConfig() *v4alpha.UpstreamTlsContext

func (*UpstreamStartTlsConfig) ProtoMessage

func (*UpstreamStartTlsConfig) ProtoMessage()

func (*UpstreamStartTlsConfig) ProtoReflect

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

func (*UpstreamStartTlsConfig) Reset

func (x *UpstreamStartTlsConfig) Reset()

func (*UpstreamStartTlsConfig) String

func (x *UpstreamStartTlsConfig) String() string

func (*UpstreamStartTlsConfig) Validate

func (m *UpstreamStartTlsConfig) Validate() error

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

type UpstreamStartTlsConfigValidationError

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

UpstreamStartTlsConfigValidationError is the validation error returned by UpstreamStartTlsConfig.Validate if the designated constraints aren't met.

func (UpstreamStartTlsConfigValidationError) Cause

Cause function returns cause value.

func (UpstreamStartTlsConfigValidationError) Error

Error satisfies the builtin error interface

func (UpstreamStartTlsConfigValidationError) ErrorName

ErrorName returns error name.

func (UpstreamStartTlsConfigValidationError) Field

Field function returns field value.

func (UpstreamStartTlsConfigValidationError) Key

Key function returns key value.

func (UpstreamStartTlsConfigValidationError) Reason

Reason function returns reason value.

Source Files

starttls.pb.go starttls.pb.validate.go

Version
v0.9.9
Published
May 21, 2021
Platform
windows/amd64
Imports
20 packages
Last checked
22 minutes ago

Tools for package owners.