Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Env ¶
type Env struct { Sio StateIOer Clock clockwork.Clock Fs afero.Fs Runner exec.Runner Secrets SecretGetter }
Env groups together the environment a backup is ran against.
type Info ¶
type Info struct { // Since contains how long ago the backup was performed. // Zero is a special value meaning "never". Since time.Duration Backup config.Backup }
Info represents the state of a backup.
func ComputeOutdated ¶
ComputeOutdated returns the list of outdated backups.
type SecretGetter ¶
SecretGetter returns the value of a secret.
Click to show internal directories.
Click to hide internal directories.