checkers

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL