Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificates ¶
type Certificates struct {
// contains filtered or unexported fields
}
func NewCertificates ¶
func NewCertificates(caDir, ftDir, bdDir string) *Certificates
func (*Certificates) Clean ¶
func (c *Certificates) Clean()
func (*Certificates) FrontendCertsEnabled ¶
func (c *Certificates) FrontendCertsEnabled() bool
func (*Certificates) HandleTLSSecret ¶
func (c *Certificates) HandleTLSSecret(secret *store.Secret, secretType SecretType) (certPath string, err error)
func (*Certificates) Refresh ¶
func (c *Certificates) Refresh() (reload bool)
Refresh removes unused certs from HAProxyCertDir
func (*Certificates) Updated ¶
func (c *Certificates) Updated() (reload bool)
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.