Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeriodicAwsChecker ¶
type PeriodicAwsChecker struct {
// contains filtered or unexported fields
}
PeriodicAwsChecker is an object designed to check for .pem files in AWS Secrets Manager
func NewAwsChecker ¶
func NewAwsChecker(awsAccount, awsRegion string, awsSecrets []string, period time.Duration, e *exporters.AwsExporter) *PeriodicAwsChecker
NewCertChecker is a factory method that returns a new AwsCertChecker
func (*PeriodicAwsChecker) StartChecking ¶
func (p *PeriodicAwsChecker) StartChecking()
StartChecking starts the periodic file check. Most likely you want to run this as an independent go routine.
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, excludeCertGlobs []string, nodeName 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, includeSecretsDataGlobs, excludeSecretsDataGlobs, annotationSelectors []string, namespace, kubeconfigPath string, e *exporters.SecretExporter, includeSecretsTypes []string) *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.