Documentation
¶
Index ¶
Constants ¶
View Source
const ( StoreKey = "store" StoreNodesKey = "store-nodes" StorePrefixKey = "store-prefix" )
Configuration keys
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct {
Domain string
AlternativeNames []string
Expires time.Time
CertificateChain []byte
PrivateKey []byte
Thumbprint string
}
Certificate represents a certificate used on a server
type Store ¶
type Store interface {
GetAccount(email string) (*Account, error)
GetCertificate(domain string) (*Certificate, error)
GetCertificates() ([]*Certificate, error)
GetChallenge(key string) (*Challenge, error)
PutAccount(account *Account) error
PutCertificate(cert *Certificate) error
PutChallenge(challenge *Challenge) error
DeleteChallenge(key string) error
}
Store allows data to be retrieved from a data store
func NewLibKVStore ¶
NewLibKVStore creates a Store using Docker's libkv package
Click to show internal directories.
Click to hide internal directories.