Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Bundle ¶
Bundle represents the `status.Certificate` and `status.CA` that is is populate on a CertificateRequest once it has been signed.
type Options ¶
type Options struct { // If PreserveCertificateRequests is true, requests will not be deleted after // they are signed. PreserveCertificateRequests bool // Namespace is the namespace that CertificateRequests will be created in. Namespace string // IssuerRef is used as the issuerRef on created CertificateRequests. IssuerRef cmmeta.ObjectReference }
type Signer ¶
type Signer interface { // Sign will create a CertificateRequest based on the provided inputs. It will // wait for it to reach a terminal state, before optionally deleting it if // preserving CertificateRequests if turned off. Will return the certificate // bundle on successful signing. Sign(ctx context.Context, identities string, csrPEM []byte, duration time.Duration, usages []cmapi.KeyUsage) (Bundle, error) }
Click to show internal directories.
Click to hide internal directories.