Documentation
¶
Overview ¶
Package secrets implements Secrets plugin.
Index ¶
Constants ¶
View Source
const ResultSuffixRead = "-secret-read.csv"
ResultSuffixRead is the suffix of the result file for "Secret" reads.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Logger *zap.Logger
Stopc chan struct{}
Sig chan os.Signal
EKSConfig *eksconfig.Config
K8SClient k8s_client.EKS
}
Config defines "Secrets" configuration.
type Tester ¶
type Tester interface {
// Create creates "Secret" objects to test "Secret" writes,
// and "Pod" objects to test "Secret" reads.
// ref. https://kubernetes.io/docs/concepts/workloads/controllers/deployment/
// Then, aggregate all reads results from remote nodes.
Create() error
// Delete deletes Secrets and Pods by deleting the namespace.
Delete() error
// AggregateResults aggregates all test results from remote nodes.
AggregateResults() error
}
Tester defines "Secret" tester.
Click to show internal directories.
Click to hide internal directories.