Documentation
¶
Index ¶
- Variables
- type TlsCredentials
- func (*TlsCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *TlsCredentials) GetIdentityCertificateProvider() *v3.CommonTlsContext_CertificateProviderInstance
- func (x *TlsCredentials) GetRootCertificateProvider() *v3.CommonTlsContext_CertificateProviderInstance
- func (*TlsCredentials) ProtoMessage()
- func (x *TlsCredentials) ProtoReflect() protoreflect.Message
- func (x *TlsCredentials) Reset()
- func (x *TlsCredentials) String() string
- func (m *TlsCredentials) Validate() error
- func (m *TlsCredentials) ValidateAll() error
- type TlsCredentialsMultiError
- type TlsCredentialsValidationError
- func (e TlsCredentialsValidationError) Cause() error
- func (e TlsCredentialsValidationError) Error() string
- func (e TlsCredentialsValidationError) ErrorName() string
- func (e TlsCredentialsValidationError) Field() string
- func (e TlsCredentialsValidationError) Key() bool
- func (e TlsCredentialsValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
var File_envoy_extensions_grpc_service_channel_credentials_tls_v3_tls_credentials_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type TlsCredentials ¶
type TlsCredentials struct {
// The certificate provider instance for the root cert. Must be set.
RootCertificateProvider *v3.CommonTlsContext_CertificateProviderInstance `` /* 132-byte string literal not displayed */
// The certificate provider instance for the identity cert. Optional;
// if unset, no identity certificate will be sent to the server.
IdentityCertificateProvider *v3.CommonTlsContext_CertificateProviderInstance `` /* 144-byte string literal not displayed */
// contains filtered or unexported fields
}
[#not-implemented-hide:]
func (*TlsCredentials) Descriptor
deprecated
func (*TlsCredentials) Descriptor() ([]byte, []int)
Deprecated: Use TlsCredentials.ProtoReflect.Descriptor instead.
func (*TlsCredentials) GetIdentityCertificateProvider ¶
func (x *TlsCredentials) GetIdentityCertificateProvider() *v3.CommonTlsContext_CertificateProviderInstance
func (*TlsCredentials) GetRootCertificateProvider ¶
func (x *TlsCredentials) GetRootCertificateProvider() *v3.CommonTlsContext_CertificateProviderInstance
func (*TlsCredentials) ProtoMessage ¶
func (*TlsCredentials) ProtoMessage()
func (*TlsCredentials) ProtoReflect ¶
func (x *TlsCredentials) ProtoReflect() protoreflect.Message
func (*TlsCredentials) Reset ¶
func (x *TlsCredentials) Reset()
func (*TlsCredentials) String ¶
func (x *TlsCredentials) String() string
func (*TlsCredentials) Validate ¶
func (m *TlsCredentials) Validate() error
Validate checks the field values on TlsCredentials 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 (*TlsCredentials) ValidateAll ¶
func (m *TlsCredentials) ValidateAll() error
ValidateAll checks the field values on TlsCredentials 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 TlsCredentialsMultiError, or nil if none found.
type TlsCredentialsMultiError ¶
type TlsCredentialsMultiError []error
TlsCredentialsMultiError is an error wrapping multiple validation errors returned by TlsCredentials.ValidateAll() if the designated constraints aren't met.
func (TlsCredentialsMultiError) AllErrors ¶
func (m TlsCredentialsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TlsCredentialsMultiError) Error ¶
func (m TlsCredentialsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TlsCredentialsValidationError ¶
type TlsCredentialsValidationError struct {
// contains filtered or unexported fields
}
TlsCredentialsValidationError is the validation error returned by TlsCredentials.Validate if the designated constraints aren't met.
func (TlsCredentialsValidationError) Cause ¶
func (e TlsCredentialsValidationError) Cause() error
Cause function returns cause value.
func (TlsCredentialsValidationError) Error ¶
func (e TlsCredentialsValidationError) Error() string
Error satisfies the builtin error interface
func (TlsCredentialsValidationError) ErrorName ¶
func (e TlsCredentialsValidationError) ErrorName() string
ErrorName returns error name.
func (TlsCredentialsValidationError) Field ¶
func (e TlsCredentialsValidationError) Field() string
Field function returns field value.
func (TlsCredentialsValidationError) Key ¶
func (e TlsCredentialsValidationError) Key() bool
Key function returns key value.
func (TlsCredentialsValidationError) Reason ¶
func (e TlsCredentialsValidationError) Reason() string
Reason function returns reason value.