Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CertificateNotFoundError = fmt.Errorf("certificate not found")
)
Functions ¶
This section is empty.
Types ¶
type CertificateAuthority ¶
type CertificateAuthority interface {
RequestCertificate(email, domain string) (*CompleteCertificate, error)
}
type CertificateManager ¶
type CertificateManager interface { // FindCertificate returns CertificateNotFoundError if the certificate hasn't been found. FindCertificate(domain string) (*ExistingCertificate, error) // InstallCertificate creates the certificate in ACM (or similar) ; empty 'id' will create a new certificate InstallCertificate(id string, certificate CompleteCertificate) error }
type CompleteCertificate ¶
CompleteCertificate contains PEM encoded certificate
Click to show internal directories.
Click to hide internal directories.