Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultInterval is the default interval for retry operations. DefaultInterval = 5 * time.Second // DefaultSevereThreshold is the default threshold until an error reported by another component is treated as 'severe'. DefaultSevereThreshold = 3 * time.Minute // DefaultTimeout is the default timeout and defines how long Gardener should wait // for a successful reconciliation of an EtcdCopyBackupsTasks resource. DefaultTimeout = 5 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface {
component.DeployWaiter
// SetSourceStore sets the specifications for the object store provider from which backups will be copied.
SetSourceStore(druidv1alpha1.StoreSpec)
// SetTargetStore sets the specifications for the object store provider to which backups will be copied.
SetTargetStore(druidv1alpha1.StoreSpec)
}
Interface contains functions to manage EtcdCopyBackupsTasks.
type Values ¶
type Values struct {
// Name is the name of the EtcdCopyBackupsTask.
Name string
// Namespace is the namespace of the EtcdCopyBackupsTask.
Namespace string
// SourceStore is the specification of the objct store from which etcd backups will be copied.
SourceStore druidv1alpha1.StoreSpec
// TargetStore is the specification of the objcet store to which etcd backups will be copied.
TargetStore druidv1alpha1.StoreSpec
// MaxBackups is the maximum number of backups that will be copied starting with the most recent ones.
MaxBackups *uint32
// MaxBackupAge is the maximum age in days that a backup must have in order to be copied.
MaxBackupAge *uint32
// WaitForFinalSnapshot defines the parameters for waiting for a final full snapshot before copying backups.
WaitForFinalSnapshot *druidv1alpha1.WaitForFinalSnapshotSpec
}
Values contains the values used to create an EtcdCopyBackupsTask resources.
Click to show internal directories.
Click to hide internal directories.