tlsv3

package
v1.36.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2025 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
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

Cause function returns cause value.

func (TlsCredentialsValidationError) Error

Error satisfies the builtin error interface

func (TlsCredentialsValidationError) ErrorName

func (e TlsCredentialsValidationError) ErrorName() string

ErrorName returns error name.

func (TlsCredentialsValidationError) Field

Field function returns field value.

func (TlsCredentialsValidationError) Key

Key function returns key value.

func (TlsCredentialsValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL