Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DMaaSBackupper ¶
type DMaaSBackupper interface { // Execute creates the velero backup for given dmaasbackup Execute(obj *v1alpha1.DMaaSBackup, logger logrus.FieldLogger) (bool, error) // Delete perform the cleanup required as part of dmaasbackup deletion Delete(obj *v1alpha1.DMaaSBackup, logger logrus.FieldLogger) error }
DMaaSBackupper execute operations on dmaasbackup resource
func NewDMaaSBackupper ¶
func NewDMaaSBackupper( veleroNs string, dmaasClient clientset.Interface, veleroClient velerov1.VeleroV1Interface, veleroInformer velerov1informer.Interface, clock apimachineryclock.Clock, ) DMaaSBackupper
NewDMaaSBackupper returns the interface to execute operation on dmaasbackup resource
type ScheduleByCreationTimestamp ¶
type ScheduleByCreationTimestamp []v1alpha1.VeleroScheduleDetails
ScheduleByCreationTimestamp sorts a list of veleroschedule by creation timestamp, using their names as a tie breaker.
func (ScheduleByCreationTimestamp) Len ¶
func (o ScheduleByCreationTimestamp) Len() int
func (ScheduleByCreationTimestamp) Less ¶
func (o ScheduleByCreationTimestamp) Less(i, j int) bool
func (ScheduleByCreationTimestamp) Swap ¶
func (o ScheduleByCreationTimestamp) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.