Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type CertificateManagerType ¶
type CertificateManagerType string
const ( Manual CertificateManagerType = "manual" Archon CertificateManagerType = "archon" CertManager CertificateManagerType = "cert-manager" )
type Manager ¶
type Manager interface { // IssueCertificate issues a new certificate. IssueCertificate(cn string, validityPeriod time.Duration, dnsNames []string) (*Certificate, error) // GetCertificate returns a certificate given its Common Name (CN) GetCertificate(cn string) (*Certificate, error) // GetRootCertificate returns the root certificate in PEM format and its expiration. GetRootCertificate() (*Certificate, error) }
Manager is for Certificate management.
Click to show internal directories.
Click to hide internal directories.