Documentation ¶
Index ¶
- Variables
- type StartTlsConfig
- func (*StartTlsConfig) Descriptor() ([]byte, []int)deprecated
- func (x *StartTlsConfig) GetCleartextSocketConfig() *v3.RawBuffer
- func (x *StartTlsConfig) GetTlsSocketConfig() *v31.DownstreamTlsContext
- func (*StartTlsConfig) ProtoMessage()
- func (x *StartTlsConfig) ProtoReflect() protoreflect.Message
- func (x *StartTlsConfig) Reset()
- func (x *StartTlsConfig) String() string
- func (m *StartTlsConfig) Validate() error
- type StartTlsConfigValidationError
- func (e StartTlsConfigValidationError) Cause() error
- func (e StartTlsConfigValidationError) Error() string
- func (e StartTlsConfigValidationError) ErrorName() string
- func (e StartTlsConfigValidationError) Field() string
- func (e StartTlsConfigValidationError) Key() bool
- func (e StartTlsConfigValidationError) Reason() string
- type UpstreamStartTlsConfig
- func (*UpstreamStartTlsConfig) Descriptor() ([]byte, []int)deprecated
- func (x *UpstreamStartTlsConfig) GetCleartextSocketConfig() *v3.RawBuffer
- func (x *UpstreamStartTlsConfig) GetTlsSocketConfig() *v31.UpstreamTlsContext
- func (*UpstreamStartTlsConfig) ProtoMessage()
- func (x *UpstreamStartTlsConfig) ProtoReflect() protoreflect.Message
- func (x *UpstreamStartTlsConfig) Reset()
- func (x *UpstreamStartTlsConfig) String() string
- func (m *UpstreamStartTlsConfig) Validate() error
- type UpstreamStartTlsConfigValidationError
- func (e UpstreamStartTlsConfigValidationError) Cause() error
- func (e UpstreamStartTlsConfigValidationError) Error() string
- func (e UpstreamStartTlsConfigValidationError) ErrorName() string
- func (e UpstreamStartTlsConfigValidationError) Field() string
- func (e UpstreamStartTlsConfigValidationError) Key() bool
- func (e UpstreamStartTlsConfigValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
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 a downstream 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 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
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 ¶
func (e StartTlsConfigValidationError) Cause() error
Cause function returns cause value.
func (StartTlsConfigValidationError) Error ¶
func (e StartTlsConfigValidationError) Error() string
Error satisfies the builtin error interface
func (StartTlsConfigValidationError) ErrorName ¶
func (e StartTlsConfigValidationError) ErrorName() string
ErrorName returns error name.
func (StartTlsConfigValidationError) Field ¶
func (e StartTlsConfigValidationError) Field() string
Field function returns field value.
func (StartTlsConfigValidationError) Key ¶
func (e StartTlsConfigValidationError) Key() bool
Key function returns key value.
func (StartTlsConfigValidationError) Reason ¶
func (e StartTlsConfigValidationError) Reason() string
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 `` /* 126-byte string literal not displayed */ // Configuration for an upstream TLS socket. TlsSocketConfig *v31.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
deprecated
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() *v31.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 ¶
func (e UpstreamStartTlsConfigValidationError) Cause() error
Cause function returns cause value.
func (UpstreamStartTlsConfigValidationError) Error ¶
func (e UpstreamStartTlsConfigValidationError) Error() string
Error satisfies the builtin error interface
func (UpstreamStartTlsConfigValidationError) ErrorName ¶
func (e UpstreamStartTlsConfigValidationError) ErrorName() string
ErrorName returns error name.
func (UpstreamStartTlsConfigValidationError) Field ¶
func (e UpstreamStartTlsConfigValidationError) Field() string
Field function returns field value.
func (UpstreamStartTlsConfigValidationError) Key ¶
func (e UpstreamStartTlsConfigValidationError) Key() bool
Key function returns key value.
func (UpstreamStartTlsConfigValidationError) Reason ¶
func (e UpstreamStartTlsConfigValidationError) Reason() string
Reason function returns reason value.