Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsCertUsable ¶
func IsCertUsable(cert *tls.Certificate) bool
IsCertUsable is a place where we implement business logic to assure certificates are usable for envoy
Types ¶
type CertificateSecretsProvider ¶
type CertificateSecretsProvider struct {
// contains filtered or unexported fields
}
func NewCertificateSecretsProvider ¶
func NewCertificateSecretsProvider(controlPlaneClusterName string, certificateStorage *storage.Certificate, log logger.Logger) *CertificateSecretsProvider
func (*CertificateSecretsProvider) GetCertificateConfig ¶
func (p *CertificateSecretsProvider) GetCertificateConfig(vhost *route.VirtualHost) *auth.SdsSecretConfig
GetCertificateConfig will register vhost in the SDS mapping, assuring that the certificate is returned when calling Provide()
func (*CertificateSecretsProvider) HasValidCertificate ¶
func (p *CertificateSecretsProvider) HasValidCertificate(vhost *route.VirtualHost) bool
Click to show internal directories.
Click to hide internal directories.