envoy_extensions_transport_sockets_tls_v4alpha

package
v1.12.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2021 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TlsParameters_TlsProtocol_name = map[int32]string{
		0: "TLS_AUTO",
		1: "TLSv1_0",
		2: "TLSv1_1",
		3: "TLSv1_2",
		4: "TLSv1_3",
	}
	TlsParameters_TlsProtocol_value = map[string]int32{
		"TLS_AUTO": 0,
		"TLSv1_0":  1,
		"TLSv1_1":  2,
		"TLSv1_2":  3,
		"TLSv1_3":  4,
	}
)

Enum value maps for TlsParameters_TlsProtocol.

View Source
var (
	CertificateValidationContext_TrustChainVerification_name = map[int32]string{
		0: "VERIFY_TRUST_CHAIN",
		1: "ACCEPT_UNTRUSTED",
	}
	CertificateValidationContext_TrustChainVerification_value = map[string]int32{
		"VERIFY_TRUST_CHAIN": 0,
		"ACCEPT_UNTRUSTED":   1,
	}
)

Enum value maps for CertificateValidationContext_TrustChainVerification.

View Source
var File_envoy_extensions_transport_sockets_tls_v4alpha_common_proto protoreflect.FileDescriptor
View Source
var File_envoy_extensions_transport_sockets_tls_v4alpha_secret_proto protoreflect.FileDescriptor
View Source
var File_envoy_extensions_transport_sockets_tls_v4alpha_tls_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CertificateValidationContext

type CertificateValidationContext struct {
	TrustedCa                         *v4alpha.DataSource                                 `protobuf:"bytes,1,opt,name=trusted_ca,json=trustedCa,proto3" json:"trusted_ca,omitempty"`
	VerifyCertificateSpki             []string                                            `` /* 126-byte string literal not displayed */
	VerifyCertificateHash             []string                                            `` /* 126-byte string literal not displayed */
	MatchSubjectAltNames              []*v4alpha1.StringMatcher                           `protobuf:"bytes,9,rep,name=match_subject_alt_names,json=matchSubjectAltNames,proto3" json:"match_subject_alt_names,omitempty"`
	RequireOcspStaple                 *wrappers.BoolValue                                 `protobuf:"bytes,5,opt,name=require_ocsp_staple,json=requireOcspStaple,proto3" json:"require_ocsp_staple,omitempty"`
	RequireSignedCertificateTimestamp *wrappers.BoolValue                                 `` /* 164-byte string literal not displayed */
	Crl                               *v4alpha.DataSource                                 `protobuf:"bytes,7,opt,name=crl,proto3" json:"crl,omitempty"`
	AllowExpiredCertificate           bool                                                `` /* 133-byte string literal not displayed */
	TrustChainVerification            CertificateValidationContext_TrustChainVerification `` /* 235-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CertificateValidationContext) Descriptor deprecated

func (*CertificateValidationContext) Descriptor() ([]byte, []int)

Deprecated: Use CertificateValidationContext.ProtoReflect.Descriptor instead.

func (*CertificateValidationContext) GetAllowExpiredCertificate

func (x *CertificateValidationContext) GetAllowExpiredCertificate() bool

func (*CertificateValidationContext) GetCrl

func (*CertificateValidationContext) GetMatchSubjectAltNames

func (x *CertificateValidationContext) GetMatchSubjectAltNames() []*v4alpha1.StringMatcher

func (*CertificateValidationContext) GetRequireOcspStaple

func (x *CertificateValidationContext) GetRequireOcspStaple() *wrappers.BoolValue

func (*CertificateValidationContext) GetRequireSignedCertificateTimestamp

func (x *CertificateValidationContext) GetRequireSignedCertificateTimestamp() *wrappers.BoolValue

func (*CertificateValidationContext) GetTrustChainVerification

func (*CertificateValidationContext) GetTrustedCa

func (x *CertificateValidationContext) GetTrustedCa() *v4alpha.DataSource

func (*CertificateValidationContext) GetVerifyCertificateHash

func (x *CertificateValidationContext) GetVerifyCertificateHash() []string

func (*CertificateValidationContext) GetVerifyCertificateSpki

func (x *CertificateValidationContext) GetVerifyCertificateSpki() []string

func (*CertificateValidationContext) ProtoMessage

func (*CertificateValidationContext) ProtoMessage()

func (*CertificateValidationContext) ProtoReflect added in v1.7.0

func (*CertificateValidationContext) Reset

func (x *CertificateValidationContext) Reset()

func (*CertificateValidationContext) String

func (*CertificateValidationContext) Validate

func (m *CertificateValidationContext) Validate() error

Validate checks the field values on CertificateValidationContext with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CertificateValidationContextValidationError

type CertificateValidationContextValidationError struct {
	// contains filtered or unexported fields
}

CertificateValidationContextValidationError is the validation error returned by CertificateValidationContext.Validate if the designated constraints aren't met.

func (CertificateValidationContextValidationError) Cause

Cause function returns cause value.

func (CertificateValidationContextValidationError) Error

Error satisfies the builtin error interface

func (CertificateValidationContextValidationError) ErrorName

ErrorName returns error name.

func (CertificateValidationContextValidationError) Field

Field function returns field value.

func (CertificateValidationContextValidationError) Key

Key function returns key value.

func (CertificateValidationContextValidationError) Reason

Reason function returns reason value.

type CertificateValidationContext_TrustChainVerification

type CertificateValidationContext_TrustChainVerification int32
const (
	CertificateValidationContext_VERIFY_TRUST_CHAIN CertificateValidationContext_TrustChainVerification = 0
	CertificateValidationContext_ACCEPT_UNTRUSTED   CertificateValidationContext_TrustChainVerification = 1
)

func (CertificateValidationContext_TrustChainVerification) Descriptor added in v1.7.0

func (CertificateValidationContext_TrustChainVerification) Enum added in v1.7.0

func (CertificateValidationContext_TrustChainVerification) EnumDescriptor deprecated

Deprecated: Use CertificateValidationContext_TrustChainVerification.Descriptor instead.

func (CertificateValidationContext_TrustChainVerification) Number added in v1.7.0

func (CertificateValidationContext_TrustChainVerification) String

func (CertificateValidationContext_TrustChainVerification) Type added in v1.7.0

type CommonTlsContext

type CommonTlsContext struct {
	TlsParams                         *TlsParameters                        `protobuf:"bytes,1,opt,name=tls_params,json=tlsParams,proto3" json:"tls_params,omitempty"`
	TlsCertificates                   []*TlsCertificate                     `protobuf:"bytes,2,rep,name=tls_certificates,json=tlsCertificates,proto3" json:"tls_certificates,omitempty"`
	TlsCertificateSdsSecretConfigs    []*SdsSecretConfig                    `` /* 157-byte string literal not displayed */
	TlsCertificateCertificateProvider *CommonTlsContext_CertificateProvider `` /* 164-byte string literal not displayed */
	// Types that are assignable to ValidationContextType:
	//	*CommonTlsContext_ValidationContext
	//	*CommonTlsContext_ValidationContextSdsSecretConfig
	//	*CommonTlsContext_CombinedValidationContext
	//	*CommonTlsContext_ValidationContextCertificateProvider
	ValidationContextType isCommonTlsContext_ValidationContextType `protobuf_oneof:"validation_context_type"`
	AlpnProtocols         []string                                 `protobuf:"bytes,4,rep,name=alpn_protocols,json=alpnProtocols,proto3" json:"alpn_protocols,omitempty"`
	// contains filtered or unexported fields
}

func (*CommonTlsContext) Descriptor deprecated

func (*CommonTlsContext) Descriptor() ([]byte, []int)

Deprecated: Use CommonTlsContext.ProtoReflect.Descriptor instead.

func (*CommonTlsContext) GetAlpnProtocols

func (x *CommonTlsContext) GetAlpnProtocols() []string

func (*CommonTlsContext) GetCombinedValidationContext

func (*CommonTlsContext) GetTlsCertificateCertificateProvider added in v1.7.0

func (x *CommonTlsContext) GetTlsCertificateCertificateProvider() *CommonTlsContext_CertificateProvider

func (*CommonTlsContext) GetTlsCertificateSdsSecretConfigs

func (x *CommonTlsContext) GetTlsCertificateSdsSecretConfigs() []*SdsSecretConfig

func (*CommonTlsContext) GetTlsCertificates

func (x *CommonTlsContext) GetTlsCertificates() []*TlsCertificate

func (*CommonTlsContext) GetTlsParams

func (x *CommonTlsContext) GetTlsParams() *TlsParameters

func (*CommonTlsContext) GetValidationContext

func (x *CommonTlsContext) GetValidationContext() *CertificateValidationContext

func (*CommonTlsContext) GetValidationContextCertificateProvider added in v1.7.0

func (x *CommonTlsContext) GetValidationContextCertificateProvider() *CommonTlsContext_CertificateProvider

func (*CommonTlsContext) GetValidationContextSdsSecretConfig

func (x *CommonTlsContext) GetValidationContextSdsSecretConfig() *SdsSecretConfig

func (*CommonTlsContext) GetValidationContextType

func (m *CommonTlsContext) GetValidationContextType() isCommonTlsContext_ValidationContextType

func (*CommonTlsContext) ProtoMessage

func (*CommonTlsContext) ProtoMessage()

func (*CommonTlsContext) ProtoReflect added in v1.7.0

func (x *CommonTlsContext) ProtoReflect() protoreflect.Message

func (*CommonTlsContext) Reset

func (x *CommonTlsContext) Reset()

func (*CommonTlsContext) String

func (x *CommonTlsContext) String() string

func (*CommonTlsContext) Validate

func (m *CommonTlsContext) Validate() error

Validate checks the field values on CommonTlsContext with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CommonTlsContextValidationError

type CommonTlsContextValidationError struct {
	// contains filtered or unexported fields
}

CommonTlsContextValidationError is the validation error returned by CommonTlsContext.Validate if the designated constraints aren't met.

func (CommonTlsContextValidationError) Cause

Cause function returns cause value.

func (CommonTlsContextValidationError) Error

Error satisfies the builtin error interface

func (CommonTlsContextValidationError) ErrorName

ErrorName returns error name.

func (CommonTlsContextValidationError) Field

Field function returns field value.

func (CommonTlsContextValidationError) Key

Key function returns key value.

func (CommonTlsContextValidationError) Reason

Reason function returns reason value.

type CommonTlsContext_CertificateProvider added in v1.7.0

type CommonTlsContext_CertificateProvider struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Config:
	//	*CommonTlsContext_CertificateProvider_TypedConfig
	Config isCommonTlsContext_CertificateProvider_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

func (*CommonTlsContext_CertificateProvider) Descriptor deprecated added in v1.7.0

func (*CommonTlsContext_CertificateProvider) Descriptor() ([]byte, []int)

Deprecated: Use CommonTlsContext_CertificateProvider.ProtoReflect.Descriptor instead.

func (*CommonTlsContext_CertificateProvider) GetConfig added in v1.7.0

func (m *CommonTlsContext_CertificateProvider) GetConfig() isCommonTlsContext_CertificateProvider_Config

func (*CommonTlsContext_CertificateProvider) GetName added in v1.7.0

func (*CommonTlsContext_CertificateProvider) GetTypedConfig added in v1.7.0

func (*CommonTlsContext_CertificateProvider) ProtoMessage added in v1.7.0

func (*CommonTlsContext_CertificateProvider) ProtoMessage()

func (*CommonTlsContext_CertificateProvider) ProtoReflect added in v1.7.0

func (*CommonTlsContext_CertificateProvider) Reset added in v1.7.0

func (*CommonTlsContext_CertificateProvider) String added in v1.7.0

func (*CommonTlsContext_CertificateProvider) Validate added in v1.7.0

Validate checks the field values on CommonTlsContext_CertificateProvider with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CommonTlsContext_CertificateProviderValidationError added in v1.7.0

type CommonTlsContext_CertificateProviderValidationError struct {
	// contains filtered or unexported fields
}

CommonTlsContext_CertificateProviderValidationError is the validation error returned by CommonTlsContext_CertificateProvider.Validate if the designated constraints aren't met.

func (CommonTlsContext_CertificateProviderValidationError) Cause added in v1.7.0

Cause function returns cause value.

func (CommonTlsContext_CertificateProviderValidationError) Error added in v1.7.0

Error satisfies the builtin error interface

func (CommonTlsContext_CertificateProviderValidationError) ErrorName added in v1.7.0

ErrorName returns error name.

func (CommonTlsContext_CertificateProviderValidationError) Field added in v1.7.0

Field function returns field value.

func (CommonTlsContext_CertificateProviderValidationError) Key added in v1.7.0

Key function returns key value.

func (CommonTlsContext_CertificateProviderValidationError) Reason added in v1.7.0

Reason function returns reason value.

type CommonTlsContext_CertificateProvider_TypedConfig added in v1.7.0

type CommonTlsContext_CertificateProvider_TypedConfig struct {
	TypedConfig *v4alpha.TypedExtensionConfig `protobuf:"bytes,2,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

type CommonTlsContext_CombinedCertificateValidationContext

type CommonTlsContext_CombinedCertificateValidationContext struct {
	DefaultValidationContext *CertificateValidationContext `` /* 135-byte string literal not displayed */
	// Types that are assignable to DynamicValidationContext:
	//	*CommonTlsContext_CombinedCertificateValidationContext_ValidationContextSdsSecretConfig
	//	*CommonTlsContext_CombinedCertificateValidationContext_ValidationContextCertificateProvider
	DynamicValidationContext isCommonTlsContext_CombinedCertificateValidationContext_DynamicValidationContext `protobuf_oneof:"dynamic_validation_context"`
	// contains filtered or unexported fields
}

func (*CommonTlsContext_CombinedCertificateValidationContext) Descriptor deprecated

Deprecated: Use CommonTlsContext_CombinedCertificateValidationContext.ProtoReflect.Descriptor instead.

func (*CommonTlsContext_CombinedCertificateValidationContext) GetDefaultValidationContext

func (*CommonTlsContext_CombinedCertificateValidationContext) GetDynamicValidationContext added in v1.7.0

func (m *CommonTlsContext_CombinedCertificateValidationContext) GetDynamicValidationContext() isCommonTlsContext_CombinedCertificateValidationContext_DynamicValidationContext

func (*CommonTlsContext_CombinedCertificateValidationContext) GetValidationContextCertificateProvider added in v1.7.0

func (*CommonTlsContext_CombinedCertificateValidationContext) GetValidationContextSdsSecretConfig

func (x *CommonTlsContext_CombinedCertificateValidationContext) GetValidationContextSdsSecretConfig() *SdsSecretConfig

func (*CommonTlsContext_CombinedCertificateValidationContext) ProtoMessage

func (*CommonTlsContext_CombinedCertificateValidationContext) ProtoReflect added in v1.7.0

func (*CommonTlsContext_CombinedCertificateValidationContext) Reset

func (*CommonTlsContext_CombinedCertificateValidationContext) String

func (*CommonTlsContext_CombinedCertificateValidationContext) Validate

Validate checks the field values on CommonTlsContext_CombinedCertificateValidationContext with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type CommonTlsContext_CombinedCertificateValidationContextValidationError

type CommonTlsContext_CombinedCertificateValidationContextValidationError struct {
	// contains filtered or unexported fields
}

CommonTlsContext_CombinedCertificateValidationContextValidationError is the validation error returned by CommonTlsContext_CombinedCertificateValidationContext.Validate if the designated constraints aren't met.

func (CommonTlsContext_CombinedCertificateValidationContextValidationError) Cause

Cause function returns cause value.

func (CommonTlsContext_CombinedCertificateValidationContextValidationError) Error

Error satisfies the builtin error interface

func (CommonTlsContext_CombinedCertificateValidationContextValidationError) ErrorName

ErrorName returns error name.

func (CommonTlsContext_CombinedCertificateValidationContextValidationError) Field

Field function returns field value.

func (CommonTlsContext_CombinedCertificateValidationContextValidationError) Key

Key function returns key value.

func (CommonTlsContext_CombinedCertificateValidationContextValidationError) Reason

Reason function returns reason value.

type CommonTlsContext_CombinedCertificateValidationContext_ValidationContextCertificateProvider added in v1.7.0

type CommonTlsContext_CombinedCertificateValidationContext_ValidationContextCertificateProvider struct {
	ValidationContextCertificateProvider *CommonTlsContext_CertificateProvider `protobuf:"bytes,3,opt,name=validation_context_certificate_provider,json=validationContextCertificateProvider,proto3,oneof"`
}

type CommonTlsContext_CombinedCertificateValidationContext_ValidationContextSdsSecretConfig added in v1.7.0

type CommonTlsContext_CombinedCertificateValidationContext_ValidationContextSdsSecretConfig struct {
	ValidationContextSdsSecretConfig *SdsSecretConfig `protobuf:"bytes,2,opt,name=validation_context_sds_secret_config,json=validationContextSdsSecretConfig,proto3,oneof"`
}

type CommonTlsContext_CombinedValidationContext

type CommonTlsContext_CombinedValidationContext struct {
	CombinedValidationContext *CommonTlsContext_CombinedCertificateValidationContext `protobuf:"bytes,8,opt,name=combined_validation_context,json=combinedValidationContext,proto3,oneof"`
}

type CommonTlsContext_ValidationContext

type CommonTlsContext_ValidationContext struct {
	ValidationContext *CertificateValidationContext `protobuf:"bytes,3,opt,name=validation_context,json=validationContext,proto3,oneof"`
}

type CommonTlsContext_ValidationContextCertificateProvider added in v1.7.0

type CommonTlsContext_ValidationContextCertificateProvider struct {
	ValidationContextCertificateProvider *CommonTlsContext_CertificateProvider `protobuf:"bytes,10,opt,name=validation_context_certificate_provider,json=validationContextCertificateProvider,proto3,oneof"`
}

type CommonTlsContext_ValidationContextSdsSecretConfig

type CommonTlsContext_ValidationContextSdsSecretConfig struct {
	ValidationContextSdsSecretConfig *SdsSecretConfig `protobuf:"bytes,7,opt,name=validation_context_sds_secret_config,json=validationContextSdsSecretConfig,proto3,oneof"`
}

type DownstreamTlsContext

type DownstreamTlsContext struct {
	CommonTlsContext         *CommonTlsContext   `protobuf:"bytes,1,opt,name=common_tls_context,json=commonTlsContext,proto3" json:"common_tls_context,omitempty"`
	RequireClientCertificate *wrappers.BoolValue `` /* 135-byte string literal not displayed */
	RequireSni               *wrappers.BoolValue `protobuf:"bytes,3,opt,name=require_sni,json=requireSni,proto3" json:"require_sni,omitempty"`
	// Types that are assignable to SessionTicketKeysType:
	//	*DownstreamTlsContext_SessionTicketKeys
	//	*DownstreamTlsContext_SessionTicketKeysSdsSecretConfig
	//	*DownstreamTlsContext_DisableStatelessSessionResumption
	SessionTicketKeysType isDownstreamTlsContext_SessionTicketKeysType `protobuf_oneof:"session_ticket_keys_type"`
	SessionTimeout        *duration.Duration                           `protobuf:"bytes,6,opt,name=session_timeout,json=sessionTimeout,proto3" json:"session_timeout,omitempty"`
	// contains filtered or unexported fields
}

func (*DownstreamTlsContext) Descriptor deprecated

func (*DownstreamTlsContext) Descriptor() ([]byte, []int)

Deprecated: Use DownstreamTlsContext.ProtoReflect.Descriptor instead.

func (*DownstreamTlsContext) GetCommonTlsContext

func (x *DownstreamTlsContext) GetCommonTlsContext() *CommonTlsContext

func (*DownstreamTlsContext) GetDisableStatelessSessionResumption

func (x *DownstreamTlsContext) GetDisableStatelessSessionResumption() bool

func (*DownstreamTlsContext) GetRequireClientCertificate

func (x *DownstreamTlsContext) GetRequireClientCertificate() *wrappers.BoolValue

func (*DownstreamTlsContext) GetRequireSni

func (x *DownstreamTlsContext) GetRequireSni() *wrappers.BoolValue

func (*DownstreamTlsContext) GetSessionTicketKeys

func (x *DownstreamTlsContext) GetSessionTicketKeys() *TlsSessionTicketKeys

func (*DownstreamTlsContext) GetSessionTicketKeysSdsSecretConfig

func (x *DownstreamTlsContext) GetSessionTicketKeysSdsSecretConfig() *SdsSecretConfig

func (*DownstreamTlsContext) GetSessionTicketKeysType

func (m *DownstreamTlsContext) GetSessionTicketKeysType() isDownstreamTlsContext_SessionTicketKeysType

func (*DownstreamTlsContext) GetSessionTimeout

func (x *DownstreamTlsContext) GetSessionTimeout() *duration.Duration

func (*DownstreamTlsContext) ProtoMessage

func (*DownstreamTlsContext) ProtoMessage()

func (*DownstreamTlsContext) ProtoReflect added in v1.7.0

func (x *DownstreamTlsContext) ProtoReflect() protoreflect.Message

func (*DownstreamTlsContext) Reset

func (x *DownstreamTlsContext) Reset()

func (*DownstreamTlsContext) String

func (x *DownstreamTlsContext) String() string

func (*DownstreamTlsContext) Validate

func (m *DownstreamTlsContext) Validate() error

Validate checks the field values on DownstreamTlsContext with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type DownstreamTlsContextValidationError

type DownstreamTlsContextValidationError struct {
	// contains filtered or unexported fields
}

DownstreamTlsContextValidationError is the validation error returned by DownstreamTlsContext.Validate if the designated constraints aren't met.

func (DownstreamTlsContextValidationError) Cause

Cause function returns cause value.

func (DownstreamTlsContextValidationError) Error

Error satisfies the builtin error interface

func (DownstreamTlsContextValidationError) ErrorName

ErrorName returns error name.

func (DownstreamTlsContextValidationError) Field

Field function returns field value.

func (DownstreamTlsContextValidationError) Key

Key function returns key value.

func (DownstreamTlsContextValidationError) Reason

Reason function returns reason value.

type DownstreamTlsContext_DisableStatelessSessionResumption

type DownstreamTlsContext_DisableStatelessSessionResumption struct {
	DisableStatelessSessionResumption bool `protobuf:"varint,7,opt,name=disable_stateless_session_resumption,json=disableStatelessSessionResumption,proto3,oneof"`
}

type DownstreamTlsContext_SessionTicketKeys

type DownstreamTlsContext_SessionTicketKeys struct {
	SessionTicketKeys *TlsSessionTicketKeys `protobuf:"bytes,4,opt,name=session_ticket_keys,json=sessionTicketKeys,proto3,oneof"`
}

type DownstreamTlsContext_SessionTicketKeysSdsSecretConfig

type DownstreamTlsContext_SessionTicketKeysSdsSecretConfig struct {
	SessionTicketKeysSdsSecretConfig *SdsSecretConfig `protobuf:"bytes,5,opt,name=session_ticket_keys_sds_secret_config,json=sessionTicketKeysSdsSecretConfig,proto3,oneof"`
}

type GenericSecret

type GenericSecret struct {
	Secret *v4alpha.DataSource `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*GenericSecret) Descriptor deprecated

func (*GenericSecret) Descriptor() ([]byte, []int)

Deprecated: Use GenericSecret.ProtoReflect.Descriptor instead.

func (*GenericSecret) GetSecret

func (x *GenericSecret) GetSecret() *v4alpha.DataSource

func (*GenericSecret) ProtoMessage

func (*GenericSecret) ProtoMessage()

func (*GenericSecret) ProtoReflect added in v1.7.0

func (x *GenericSecret) ProtoReflect() protoreflect.Message

func (*GenericSecret) Reset

func (x *GenericSecret) Reset()

func (*GenericSecret) String

func (x *GenericSecret) String() string

func (*GenericSecret) Validate

func (m *GenericSecret) Validate() error

Validate checks the field values on GenericSecret with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type GenericSecretValidationError

type GenericSecretValidationError struct {
	// contains filtered or unexported fields
}

GenericSecretValidationError is the validation error returned by GenericSecret.Validate if the designated constraints aren't met.

func (GenericSecretValidationError) Cause

Cause function returns cause value.

func (GenericSecretValidationError) Error

Error satisfies the builtin error interface

func (GenericSecretValidationError) ErrorName

func (e GenericSecretValidationError) ErrorName() string

ErrorName returns error name.

func (GenericSecretValidationError) Field

Field function returns field value.

func (GenericSecretValidationError) Key

Key function returns key value.

func (GenericSecretValidationError) Reason

Reason function returns reason value.

type PrivateKeyProvider

type PrivateKeyProvider struct {
	ProviderName string `protobuf:"bytes,1,opt,name=provider_name,json=providerName,proto3" json:"provider_name,omitempty"`
	// Types that are assignable to ConfigType:
	//	*PrivateKeyProvider_TypedConfig
	ConfigType isPrivateKeyProvider_ConfigType `protobuf_oneof:"config_type"`
	// contains filtered or unexported fields
}

func (*PrivateKeyProvider) Descriptor deprecated

func (*PrivateKeyProvider) Descriptor() ([]byte, []int)

Deprecated: Use PrivateKeyProvider.ProtoReflect.Descriptor instead.

func (*PrivateKeyProvider) GetConfigType

func (m *PrivateKeyProvider) GetConfigType() isPrivateKeyProvider_ConfigType

func (*PrivateKeyProvider) GetProviderName

func (x *PrivateKeyProvider) GetProviderName() string

func (*PrivateKeyProvider) GetTypedConfig

func (x *PrivateKeyProvider) GetTypedConfig() *any.Any

func (*PrivateKeyProvider) ProtoMessage

func (*PrivateKeyProvider) ProtoMessage()

func (*PrivateKeyProvider) ProtoReflect added in v1.7.0

func (x *PrivateKeyProvider) ProtoReflect() protoreflect.Message

func (*PrivateKeyProvider) Reset

func (x *PrivateKeyProvider) Reset()

func (*PrivateKeyProvider) String

func (x *PrivateKeyProvider) String() string

func (*PrivateKeyProvider) Validate

func (m *PrivateKeyProvider) Validate() error

Validate checks the field values on PrivateKeyProvider with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type PrivateKeyProviderValidationError

type PrivateKeyProviderValidationError struct {
	// contains filtered or unexported fields
}

PrivateKeyProviderValidationError is the validation error returned by PrivateKeyProvider.Validate if the designated constraints aren't met.

func (PrivateKeyProviderValidationError) Cause

Cause function returns cause value.

func (PrivateKeyProviderValidationError) Error

Error satisfies the builtin error interface

func (PrivateKeyProviderValidationError) ErrorName

ErrorName returns error name.

func (PrivateKeyProviderValidationError) Field

Field function returns field value.

func (PrivateKeyProviderValidationError) Key

Key function returns key value.

func (PrivateKeyProviderValidationError) Reason

Reason function returns reason value.

type PrivateKeyProvider_TypedConfig

type PrivateKeyProvider_TypedConfig struct {
	TypedConfig *any.Any `protobuf:"bytes,3,opt,name=typed_config,json=typedConfig,proto3,oneof"`
}

type SdsSecretConfig

type SdsSecretConfig struct {

	// Types that are assignable to NameSpecifier:
	//	*SdsSecretConfig_Name
	//	*SdsSecretConfig_SdsResourceLocator
	NameSpecifier isSdsSecretConfig_NameSpecifier `protobuf_oneof:"name_specifier"`
	SdsConfig     *v4alpha.ConfigSource           `protobuf:"bytes,2,opt,name=sds_config,json=sdsConfig,proto3" json:"sds_config,omitempty"`
	// contains filtered or unexported fields
}

func (*SdsSecretConfig) Descriptor deprecated

func (*SdsSecretConfig) Descriptor() ([]byte, []int)

Deprecated: Use SdsSecretConfig.ProtoReflect.Descriptor instead.

func (*SdsSecretConfig) GetName

func (x *SdsSecretConfig) GetName() string

func (*SdsSecretConfig) GetNameSpecifier added in v1.7.0

func (m *SdsSecretConfig) GetNameSpecifier() isSdsSecretConfig_NameSpecifier

func (*SdsSecretConfig) GetSdsConfig

func (x *SdsSecretConfig) GetSdsConfig() *v4alpha.ConfigSource

func (*SdsSecretConfig) GetSdsResourceLocator added in v1.7.0

func (x *SdsSecretConfig) GetSdsResourceLocator() *v1.ResourceLocator

func (*SdsSecretConfig) ProtoMessage

func (*SdsSecretConfig) ProtoMessage()

func (*SdsSecretConfig) ProtoReflect added in v1.7.0

func (x *SdsSecretConfig) ProtoReflect() protoreflect.Message

func (*SdsSecretConfig) Reset

func (x *SdsSecretConfig) Reset()

func (*SdsSecretConfig) String

func (x *SdsSecretConfig) String() string

func (*SdsSecretConfig) Validate

func (m *SdsSecretConfig) Validate() error

Validate checks the field values on SdsSecretConfig with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SdsSecretConfigValidationError

type SdsSecretConfigValidationError struct {
	// contains filtered or unexported fields
}

SdsSecretConfigValidationError is the validation error returned by SdsSecretConfig.Validate if the designated constraints aren't met.

func (SdsSecretConfigValidationError) Cause

Cause function returns cause value.

func (SdsSecretConfigValidationError) Error

Error satisfies the builtin error interface

func (SdsSecretConfigValidationError) ErrorName

func (e SdsSecretConfigValidationError) ErrorName() string

ErrorName returns error name.

func (SdsSecretConfigValidationError) Field

Field function returns field value.

func (SdsSecretConfigValidationError) Key

Key function returns key value.

func (SdsSecretConfigValidationError) Reason

Reason function returns reason value.

type SdsSecretConfig_Name added in v1.7.0

type SdsSecretConfig_Name struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3,oneof"`
}

type SdsSecretConfig_SdsResourceLocator added in v1.7.0

type SdsSecretConfig_SdsResourceLocator struct {
	SdsResourceLocator *v1.ResourceLocator `protobuf:"bytes,3,opt,name=sds_resource_locator,json=sdsResourceLocator,proto3,oneof"`
}

type Secret

type Secret struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Types that are assignable to Type:
	//	*Secret_TlsCertificate
	//	*Secret_SessionTicketKeys
	//	*Secret_ValidationContext
	//	*Secret_GenericSecret
	Type isSecret_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*Secret) Descriptor deprecated

func (*Secret) Descriptor() ([]byte, []int)

Deprecated: Use Secret.ProtoReflect.Descriptor instead.

func (*Secret) GetGenericSecret

func (x *Secret) GetGenericSecret() *GenericSecret

func (*Secret) GetName

func (x *Secret) GetName() string

func (*Secret) GetSessionTicketKeys

func (x *Secret) GetSessionTicketKeys() *TlsSessionTicketKeys

func (*Secret) GetTlsCertificate

func (x *Secret) GetTlsCertificate() *TlsCertificate

func (*Secret) GetType

func (m *Secret) GetType() isSecret_Type

func (*Secret) GetValidationContext

func (x *Secret) GetValidationContext() *CertificateValidationContext

func (*Secret) ProtoMessage

func (*Secret) ProtoMessage()

func (*Secret) ProtoReflect added in v1.7.0

func (x *Secret) ProtoReflect() protoreflect.Message

func (*Secret) Reset

func (x *Secret) Reset()

func (*Secret) String

func (x *Secret) String() string

func (*Secret) Validate

func (m *Secret) Validate() error

Validate checks the field values on Secret with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type SecretValidationError

type SecretValidationError struct {
	// contains filtered or unexported fields
}

SecretValidationError is the validation error returned by Secret.Validate if the designated constraints aren't met.

func (SecretValidationError) Cause

func (e SecretValidationError) Cause() error

Cause function returns cause value.

func (SecretValidationError) Error

func (e SecretValidationError) Error() string

Error satisfies the builtin error interface

func (SecretValidationError) ErrorName

func (e SecretValidationError) ErrorName() string

ErrorName returns error name.

func (SecretValidationError) Field

func (e SecretValidationError) Field() string

Field function returns field value.

func (SecretValidationError) Key

func (e SecretValidationError) Key() bool

Key function returns key value.

func (SecretValidationError) Reason

func (e SecretValidationError) Reason() string

Reason function returns reason value.

type Secret_GenericSecret

type Secret_GenericSecret struct {
	GenericSecret *GenericSecret `protobuf:"bytes,5,opt,name=generic_secret,json=genericSecret,proto3,oneof"`
}

type Secret_SessionTicketKeys

type Secret_SessionTicketKeys struct {
	SessionTicketKeys *TlsSessionTicketKeys `protobuf:"bytes,3,opt,name=session_ticket_keys,json=sessionTicketKeys,proto3,oneof"`
}

type Secret_TlsCertificate

type Secret_TlsCertificate struct {
	TlsCertificate *TlsCertificate `protobuf:"bytes,2,opt,name=tls_certificate,json=tlsCertificate,proto3,oneof"`
}

type Secret_ValidationContext

type Secret_ValidationContext struct {
	ValidationContext *CertificateValidationContext `protobuf:"bytes,4,opt,name=validation_context,json=validationContext,proto3,oneof"`
}

type TlsCertificate

type TlsCertificate struct {
	CertificateChain           *v4alpha.DataSource   `protobuf:"bytes,1,opt,name=certificate_chain,json=certificateChain,proto3" json:"certificate_chain,omitempty"`
	PrivateKey                 *v4alpha.DataSource   `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	PrivateKeyProvider         *PrivateKeyProvider   `protobuf:"bytes,6,opt,name=private_key_provider,json=privateKeyProvider,proto3" json:"private_key_provider,omitempty"`
	Password                   *v4alpha.DataSource   `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	OcspStaple                 *v4alpha.DataSource   `protobuf:"bytes,4,opt,name=ocsp_staple,json=ocspStaple,proto3" json:"ocsp_staple,omitempty"`
	SignedCertificateTimestamp []*v4alpha.DataSource `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*TlsCertificate) Descriptor deprecated

func (*TlsCertificate) Descriptor() ([]byte, []int)

Deprecated: Use TlsCertificate.ProtoReflect.Descriptor instead.

func (*TlsCertificate) GetCertificateChain

func (x *TlsCertificate) GetCertificateChain() *v4alpha.DataSource

func (*TlsCertificate) GetOcspStaple

func (x *TlsCertificate) GetOcspStaple() *v4alpha.DataSource

func (*TlsCertificate) GetPassword

func (x *TlsCertificate) GetPassword() *v4alpha.DataSource

func (*TlsCertificate) GetPrivateKey

func (x *TlsCertificate) GetPrivateKey() *v4alpha.DataSource

func (*TlsCertificate) GetPrivateKeyProvider

func (x *TlsCertificate) GetPrivateKeyProvider() *PrivateKeyProvider

func (*TlsCertificate) GetSignedCertificateTimestamp

func (x *TlsCertificate) GetSignedCertificateTimestamp() []*v4alpha.DataSource

func (*TlsCertificate) ProtoMessage

func (*TlsCertificate) ProtoMessage()

func (*TlsCertificate) ProtoReflect added in v1.7.0

func (x *TlsCertificate) ProtoReflect() protoreflect.Message

func (*TlsCertificate) Reset

func (x *TlsCertificate) Reset()

func (*TlsCertificate) String

func (x *TlsCertificate) String() string

func (*TlsCertificate) Validate

func (m *TlsCertificate) Validate() error

Validate checks the field values on TlsCertificate with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type TlsCertificateValidationError

type TlsCertificateValidationError struct {
	// contains filtered or unexported fields
}

TlsCertificateValidationError is the validation error returned by TlsCertificate.Validate if the designated constraints aren't met.

func (TlsCertificateValidationError) Cause

Cause function returns cause value.

func (TlsCertificateValidationError) Error

Error satisfies the builtin error interface

func (TlsCertificateValidationError) ErrorName

func (e TlsCertificateValidationError) ErrorName() string

ErrorName returns error name.

func (TlsCertificateValidationError) Field

Field function returns field value.

func (TlsCertificateValidationError) Key

Key function returns key value.

func (TlsCertificateValidationError) Reason

Reason function returns reason value.

type TlsParameters

type TlsParameters struct {
	TlsMinimumProtocolVersion TlsParameters_TlsProtocol `` /* 219-byte string literal not displayed */
	TlsMaximumProtocolVersion TlsParameters_TlsProtocol `` /* 219-byte string literal not displayed */
	CipherSuites              []string                  `protobuf:"bytes,3,rep,name=cipher_suites,json=cipherSuites,proto3" json:"cipher_suites,omitempty"`
	EcdhCurves                []string                  `protobuf:"bytes,4,rep,name=ecdh_curves,json=ecdhCurves,proto3" json:"ecdh_curves,omitempty"`
	// contains filtered or unexported fields
}

func (*TlsParameters) Descriptor deprecated

func (*TlsParameters) Descriptor() ([]byte, []int)

Deprecated: Use TlsParameters.ProtoReflect.Descriptor instead.

func (*TlsParameters) GetCipherSuites

func (x *TlsParameters) GetCipherSuites() []string

func (*TlsParameters) GetEcdhCurves

func (x *TlsParameters) GetEcdhCurves() []string

func (*TlsParameters) GetTlsMaximumProtocolVersion

func (x *TlsParameters) GetTlsMaximumProtocolVersion() TlsParameters_TlsProtocol

func (*TlsParameters) GetTlsMinimumProtocolVersion

func (x *TlsParameters) GetTlsMinimumProtocolVersion() TlsParameters_TlsProtocol

func (*TlsParameters) ProtoMessage

func (*TlsParameters) ProtoMessage()

func (*TlsParameters) ProtoReflect added in v1.7.0

func (x *TlsParameters) ProtoReflect() protoreflect.Message

func (*TlsParameters) Reset

func (x *TlsParameters) Reset()

func (*TlsParameters) String

func (x *TlsParameters) String() string

func (*TlsParameters) Validate

func (m *TlsParameters) Validate() error

Validate checks the field values on TlsParameters with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type TlsParametersValidationError

type TlsParametersValidationError struct {
	// contains filtered or unexported fields
}

TlsParametersValidationError is the validation error returned by TlsParameters.Validate if the designated constraints aren't met.

func (TlsParametersValidationError) Cause

Cause function returns cause value.

func (TlsParametersValidationError) Error

Error satisfies the builtin error interface

func (TlsParametersValidationError) ErrorName

func (e TlsParametersValidationError) ErrorName() string

ErrorName returns error name.

func (TlsParametersValidationError) Field

Field function returns field value.

func (TlsParametersValidationError) Key

Key function returns key value.

func (TlsParametersValidationError) Reason

Reason function returns reason value.

type TlsParameters_TlsProtocol

type TlsParameters_TlsProtocol int32
const (
	TlsParameters_TLS_AUTO TlsParameters_TlsProtocol = 0
	TlsParameters_TLSv1_0  TlsParameters_TlsProtocol = 1
	TlsParameters_TLSv1_1  TlsParameters_TlsProtocol = 2
	TlsParameters_TLSv1_2  TlsParameters_TlsProtocol = 3
	TlsParameters_TLSv1_3  TlsParameters_TlsProtocol = 4
)

func (TlsParameters_TlsProtocol) Descriptor added in v1.7.0

func (TlsParameters_TlsProtocol) Enum added in v1.7.0

func (TlsParameters_TlsProtocol) EnumDescriptor deprecated

func (TlsParameters_TlsProtocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use TlsParameters_TlsProtocol.Descriptor instead.

func (TlsParameters_TlsProtocol) Number added in v1.7.0

func (TlsParameters_TlsProtocol) String

func (x TlsParameters_TlsProtocol) String() string

func (TlsParameters_TlsProtocol) Type added in v1.7.0

type TlsSessionTicketKeys

type TlsSessionTicketKeys struct {
	Keys []*v4alpha.DataSource `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// contains filtered or unexported fields
}

func (*TlsSessionTicketKeys) Descriptor deprecated

func (*TlsSessionTicketKeys) Descriptor() ([]byte, []int)

Deprecated: Use TlsSessionTicketKeys.ProtoReflect.Descriptor instead.

func (*TlsSessionTicketKeys) GetKeys

func (x *TlsSessionTicketKeys) GetKeys() []*v4alpha.DataSource

func (*TlsSessionTicketKeys) ProtoMessage

func (*TlsSessionTicketKeys) ProtoMessage()

func (*TlsSessionTicketKeys) ProtoReflect added in v1.7.0

func (x *TlsSessionTicketKeys) ProtoReflect() protoreflect.Message

func (*TlsSessionTicketKeys) Reset

func (x *TlsSessionTicketKeys) Reset()

func (*TlsSessionTicketKeys) String

func (x *TlsSessionTicketKeys) String() string

func (*TlsSessionTicketKeys) Validate

func (m *TlsSessionTicketKeys) Validate() error

Validate checks the field values on TlsSessionTicketKeys with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type TlsSessionTicketKeysValidationError

type TlsSessionTicketKeysValidationError struct {
	// contains filtered or unexported fields
}

TlsSessionTicketKeysValidationError is the validation error returned by TlsSessionTicketKeys.Validate if the designated constraints aren't met.

func (TlsSessionTicketKeysValidationError) Cause

Cause function returns cause value.

func (TlsSessionTicketKeysValidationError) Error

Error satisfies the builtin error interface

func (TlsSessionTicketKeysValidationError) ErrorName

ErrorName returns error name.

func (TlsSessionTicketKeysValidationError) Field

Field function returns field value.

func (TlsSessionTicketKeysValidationError) Key

Key function returns key value.

func (TlsSessionTicketKeysValidationError) Reason

Reason function returns reason value.

type UpstreamTlsContext

type UpstreamTlsContext struct {
	CommonTlsContext   *CommonTlsContext     `protobuf:"bytes,1,opt,name=common_tls_context,json=commonTlsContext,proto3" json:"common_tls_context,omitempty"`
	Sni                string                `protobuf:"bytes,2,opt,name=sni,proto3" json:"sni,omitempty"`
	AllowRenegotiation bool                  `protobuf:"varint,3,opt,name=allow_renegotiation,json=allowRenegotiation,proto3" json:"allow_renegotiation,omitempty"`
	MaxSessionKeys     *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=max_session_keys,json=maxSessionKeys,proto3" json:"max_session_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*UpstreamTlsContext) Descriptor deprecated

func (*UpstreamTlsContext) Descriptor() ([]byte, []int)

Deprecated: Use UpstreamTlsContext.ProtoReflect.Descriptor instead.

func (*UpstreamTlsContext) GetAllowRenegotiation

func (x *UpstreamTlsContext) GetAllowRenegotiation() bool

func (*UpstreamTlsContext) GetCommonTlsContext

func (x *UpstreamTlsContext) GetCommonTlsContext() *CommonTlsContext

func (*UpstreamTlsContext) GetMaxSessionKeys

func (x *UpstreamTlsContext) GetMaxSessionKeys() *wrappers.UInt32Value

func (*UpstreamTlsContext) GetSni

func (x *UpstreamTlsContext) GetSni() string

func (*UpstreamTlsContext) ProtoMessage

func (*UpstreamTlsContext) ProtoMessage()

func (*UpstreamTlsContext) ProtoReflect added in v1.7.0

func (x *UpstreamTlsContext) ProtoReflect() protoreflect.Message

func (*UpstreamTlsContext) Reset

func (x *UpstreamTlsContext) Reset()

func (*UpstreamTlsContext) String

func (x *UpstreamTlsContext) String() string

func (*UpstreamTlsContext) Validate

func (m *UpstreamTlsContext) Validate() error

Validate checks the field values on UpstreamTlsContext with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

type UpstreamTlsContextValidationError

type UpstreamTlsContextValidationError struct {
	// contains filtered or unexported fields
}

UpstreamTlsContextValidationError is the validation error returned by UpstreamTlsContext.Validate if the designated constraints aren't met.

func (UpstreamTlsContextValidationError) Cause

Cause function returns cause value.

func (UpstreamTlsContextValidationError) Error

Error satisfies the builtin error interface

func (UpstreamTlsContextValidationError) ErrorName

ErrorName returns error name.

func (UpstreamTlsContextValidationError) Field

Field function returns field value.

func (UpstreamTlsContextValidationError) Key

Key function returns key value.

func (UpstreamTlsContextValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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