Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCertificatePreserver ¶
func NewCertificatePreserver(clusterCertSecret types.NamespacedName, caCertSecret types.NamespacedName, secretsRepository secrets.Repository) *certificatePreserver
Types ¶
type CSRProvider ¶
func NewCSRProvider ¶
func NewCSRProvider() CSRProvider
type Certificates ¶
type Preserver ¶
type Preserver interface {
PreserveCertificates(certificates Certificates) error
}
type Provider ¶
type Provider interface { GetClientCredentials() (*rsa.PrivateKey, *x509.Certificate, error) GetCertificateChain() ([]*x509.Certificate, error) }
func NewCertificateProvider ¶
func NewCertificateProvider(clusterCertSecretName types.NamespacedName, caCertSecretName types.NamespacedName, secretsRepository secrets.Repository) Provider
Click to show internal directories.
Click to hide internal directories.