Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeriodicCertChecker ¶
type PeriodicCertChecker struct {
// contains filtered or unexported fields
}
PeriodicCertChecker is an object designed to check for files on disk at a regular interval
func NewCertChecker ¶
func NewCertChecker(period time.Duration, includeCertGlobs []string, excludeCertGlobs []string, e exporters.Exporter) *PeriodicCertChecker
NewCertChecker is a factory method that returns a new PeriodicCertChecker
func (*PeriodicCertChecker) StartChecking ¶
func (p *PeriodicCertChecker) StartChecking()
StartChecking starts the periodic file check. Most likely you want to run this as an independent go routine.
type PeriodicSecretChecker ¶
type PeriodicSecretChecker struct {
// contains filtered or unexported fields
}
PeriodicSecretChecker is an object designed to check for files on disk at a regular interval
func NewSecretChecker ¶
func NewSecretChecker(period time.Duration, labelSelectors []string, secretsDataGlob string, annotationSelectors []string, namespace string, kubeconfigPath string, e *exporters.SecretExporter) *PeriodicSecretChecker
NewSecretChecker is a factory method that returns a new PeriodicSecretChecker
func (*PeriodicSecretChecker) StartChecking ¶
func (p *PeriodicSecretChecker) StartChecking()
StartChecking starts the periodic file check. Most likely you want to run this as an independent go routine.
Click to show internal directories.
Click to hide internal directories.