Documentation
¶
Overview ¶
Generic certificate database package
This provides functionality to read certificate configurations and generated content from any source.
At this point in time it's tailored to one-shot filesystem generation, but this will change, once other sources (like e.g. REST-APIs) are added.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsConsistent ¶
Types ¶
type BuildArtifact ¶
type BuildArtifact struct { Certificate *cert.Certificate PrivateKey crypto.PrivateKey }
type CertStore ¶
type CertStore interface { Put(string, BuildArtifact) error Get(string) *BuildArtifact }
type ConfigStore ¶
type ConfigStore interface { Put(config.CertificateContent) error Get(string) *config.CertificateContent }
type DbEntity ¶
type DbEntity struct { LastBuild time.Time Config config.CertificateContent LastConfigUpdate time.Time BuildArtifact BuildArtifact }
type UpdateStrategy ¶
type UpdateStrategy uint8
const ( UpdateNone UpdateStrategy = 0 UpdateMissing UpdateStrategy = 1 UpdateExpired UpdateStrategy = 2 UpdateNewerConfig UpdateStrategy = 4 UpdateAll UpdateStrategy = 8 )
Directories
¶
Path | Synopsis |
---|---|
Database implementation for filesystems.
|
Database implementation for filesystems. |
Click to show internal directories.
Click to hide internal directories.