Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Md5Compare ¶
Types ¶
type CertificateWriter ¶
type CertificateWriter interface {
WriteBundle(*certstorage.AcmeCertificate) (bool, error)
}
CertificateWriter defines a method to write a received certificate to a pluggable backend.
type FSCertWriter ¶
type FSCertWriter struct { CertificateFile string PrivateKeyFile string PemFile string Uid int Gid int }
func NewFsWriter ¶
func NewFsWriter(conf config.FsWriterConfig) (*FSCertWriter, error)
func (*FSCertWriter) ValidatePermissions ¶
func (writer *FSCertWriter) ValidatePermissions() error
func (*FSCertWriter) WriteBundle ¶
func (writer *FSCertWriter) WriteBundle(cert *certstorage.AcmeCertificate) (bool, error)
type PostHook ¶ added in v1.6.2
type PostHook interface {
Invoke() error
}
PostHook defines a mechanism to run a hook after a certificate has been updated.
type VaultAcmeClient ¶
type VaultAcmeClient struct {
// contains filtered or unexported fields
}
func NewAcmeVaultClient ¶
func NewAcmeVaultClient(conf config.AcmeVaultClientConfig, storage certstorage.CertStorage, writer CertificateWriter, hook PostHook) (*VaultAcmeClient, error)
func (VaultAcmeClient) RetrieveAndSave ¶
func (client VaultAcmeClient) RetrieveAndSave(domain string) error
Click to show internal directories.
Click to hide internal directories.