Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type CertificateManager ¶
type CertificateManager interface { // RequestCertificate creates a new CertificateRequest with the given // base64 encoded string of a PEM encoded certificate request. RequestCertificate(ctx context.Context, requestID uuid.UUID, csr []byte) error // GetCertificate returns a byte slice containing a PEM encoded signed certificate // resulting from a certificate signing request identified by the requestID GetCertificate(ctx context.Context, requestID uuid.UUID) (ca []byte, cert []byte, err error) }
CertificateManager is an interface to read/write certificate requests and certificates
func NewCertManagerClient ¶
func NewCertManagerClient(k8sClient ctrlclient.Client, namespace, issuerKind, issuer string, duration time.Duration) CertificateManager
NewCertManagerClient creates a cert-manager.io specific implementation of the certificatemanagement.CertificateManager interface
Click to show internal directories.
Click to hide internal directories.