Documentation ¶
Index ¶
Constants ¶
View Source
const ( RootKey = "ca.key" RootCert = "ca.crt" RootCertOld = "ca.crt.old" ServerKey = "tls.key" ServerCert = "tls.crt" )
View Source
const (
SuccessDuration = 3 * time.Hour
)
Variables ¶
This section is empty.
Functions ¶
func AddBootstrap ¶
Types ¶
type Certs ¶
type Certs struct { Domain string SrcData map[string][]byte Data map[string][]byte Now time.Time // contains filtered or unexported fields }
Certs handles creation and renewal of CA and SSL/TLS server certificates.
func (*Certs) ValidateCerts ¶
ValidateCerts checks for certificates and keys on cs.SrcData and renews them if needed. The existing (or new) certificates will be stored on cs.Data.
type WebhookCertificateController ¶
type WebhookCertificateController struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.