Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificates ¶
type Certificates interface { // Add takes a secret and its type and creats or updates the corresponding certificate AddSecret(secret *store.Secret, secretType SecretType) (certPath string, err error) // FrontCertsInuse returns true if a frontend certificate is configured. FrontCertsInUse() bool // Updated returns true if there is any updadted/created certificate CertsUpdated() bool // Refresh removes unused certs from HAProxyCertDir and returns false if // no certificates were removed, otherwise returns true RefreshCerts() bool // Clean cleans certificates state CleanCerts() }
func New ¶
func New(envParam Env) (Certificates, error)
type SecretCtx ¶
type SecretCtx struct { Namespace string Name string SecretType SecretType }
type SecretType ¶
type SecretType int
const ( NONE_CERT SecretType = iota FT_CERT FT_DEFAULT_CERT BD_CERT CA_CERT )
Click to show internal directories.
Click to hide internal directories.