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
- func (m *StartTlsConfig) ValidateAll() error
- type StartTlsConfigMultiError
- 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
- func (m *UpstreamStartTlsConfig) ValidateAll() error
- type UpstreamStartTlsConfigMultiError
- 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, the first error encountered is returned, or nil if there are no violations.
func (*StartTlsConfig) ValidateAll ¶ added in v0.10.0
func (m *StartTlsConfig) ValidateAll() error
ValidateAll checks the field values on StartTlsConfig 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 StartTlsConfigMultiError, or nil if none found.
type StartTlsConfigMultiError ¶ added in v0.10.0
type StartTlsConfigMultiError []error
StartTlsConfigMultiError is an error wrapping multiple validation errors returned by StartTlsConfig.ValidateAll() if the designated constraints aren't met.
func (StartTlsConfigMultiError) AllErrors ¶ added in v0.10.0
func (m StartTlsConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (StartTlsConfigMultiError) Error ¶ added in v0.10.0
func (m StartTlsConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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, the first error encountered is returned, or nil if there are no violations.
func (*UpstreamStartTlsConfig) ValidateAll ¶ added in v0.10.0
func (m *UpstreamStartTlsConfig) ValidateAll() error
ValidateAll checks the field values on UpstreamStartTlsConfig 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 UpstreamStartTlsConfigMultiError, or nil if none found.
type UpstreamStartTlsConfigMultiError ¶ added in v0.10.0
type UpstreamStartTlsConfigMultiError []error
UpstreamStartTlsConfigMultiError is an error wrapping multiple validation errors returned by UpstreamStartTlsConfig.ValidateAll() if the designated constraints aren't met.
func (UpstreamStartTlsConfigMultiError) AllErrors ¶ added in v0.10.0
func (m UpstreamStartTlsConfigMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UpstreamStartTlsConfigMultiError) Error ¶ added in v0.10.0
func (m UpstreamStartTlsConfigMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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.