Versions in this module Expand all Collapse all v1 v1.0.0 Aug 28, 2023 Changes in this version + const CertThreshold + const ServerCert + const ServerKey + type CertificateWatcher struct + Log logr.Logger + func NewCertificateWatcher(reader client.Reader, certDir string, namespace string, secretName string, ...) *CertificateWatcher + func (watcher *CertificateWatcher) ValidateCertificateExpiration(certData []byte, renewalThreshold time.Duration, now time.Time) (bool, error) + func (watcher *CertificateWatcher) WaitForCertificates() + type ICertificateHandler interface + Decode func(data []byte) (p *pem.Block, rest []byte) + Parse func(der []byte) (*x509.Certificate, error) + type ICertificateWatcher interface + WaitForCertificates func()