Documentation ¶
Index ¶
- Variables
- type StartTlsConfig
- func (*StartTlsConfig) Descriptor() ([]byte, []int)deprecated
- func (x *StartTlsConfig) GetCleartextSocketConfig() *v3.RawBuffer
- func (x *StartTlsConfig) GetTlsSocketConfig() *v4alpha.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
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_transport_sockets_starttls_v4alpha_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 *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 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() *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 ¶
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.