client

package
v1.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Md5Compare

func Md5Compare(a, b []byte) bool

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 (VaultAcmeClient) RetrieveAndSave

func (client VaultAcmeClient) RetrieveAndSave(domain string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL