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(ctx context.Context, email, domain string) (*CompleteCertificate, error)
}
type CertificateManager ¶
type CertificateManager interface { // FindCertificate returns CertificateNotFoundError if the certificate hasn't been found. FindCertificate(ctx context.Context, domain string) (*ExistingCertificate, error) // InstallCertificate creates the certificate in ACM (or similar) ; empty 'id' will create a new certificate InstallCertificate(ctx context.Context, id string, certificate CompleteCertificate) error }
type CompleteCertificate ¶
CompleteCertificate contains PEM encoded certificate
Click to show internal directories.
Click to hide internal directories.