Documentation
¶
Index ¶
Constants ¶
View Source
const ( // Dir directory of the certs Dir = "certs" // ServerKey is the name of the key associated with the secret's private key. ServerKey = "tls.key" // ServerCert is the name of the key associated with the secret's public key. ServerCert = "tls.crt" // CACert is the name of the key associated with the certificate of the CA for // the keypair. CACert = "ca.crt" // OneWeek Time used for updating a certificate before it expires. OneWeek = 7 * 24 * time.Hour // Organization Default cert organisation Organization = "cluster.local" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { CertDir string ServerKey string ServerCert string CACert string UpdateBefore time.Duration Name string MutatingWebhookConfigName string ValidatingWebhookConfigName string Organization string }
Options cert options
func (*Options) ApplyDefaults ¶
ApplyDefaults apply default options
Click to show internal directories.
Click to hide internal directories.