Documentation ¶
Overview ¶
Package secretexpire provides a worker for tracking and notifying when a secret revision should expire.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { SecretManagerFacade SecretManagerFacade Logger logger.Logger Clock clock.Clock SecretOwners []names.Tag ExpireRevisions chan<- []string }
Config defines the operation of the Worker.
type SecretManagerFacade ¶
type SecretManagerFacade interface {
WatchSecretRevisionsExpiryChanges(ctx context.Context, ownerTags ...names.Tag) (watcher.SecretTriggerWatcher, error)
}
SecretManagerFacade instances provide a watcher for secret revision expiry changes.
Click to show internal directories.
Click to hide internal directories.