Documentation ¶
Index ¶
- func DoesVeleroBackupScheduleExist(apiClient apiextensionsclientset.Interface, namespace string) (bool, error)
- func GetBackupsFromBackupResource(apiClient apiextensionsclientset.Interface, namespace string) ([]string, error)
- func GetLatestBackupFromBackupResource(apiClient apiextensionsclientset.Interface, namespace string) (string, error)
- func RestoreFromBackup(apiClient apiextensionsclientset.Interface, kubeClient kubernetes.Interface, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoesVeleroBackupScheduleExist ¶
func DoesVeleroBackupScheduleExist(apiClient apiextensionsclientset.Interface, namespace string) (bool, error)
DoesVeleroBackupScheduleExist checks whether a velero schedule exists
func GetBackupsFromBackupResource ¶
func GetBackupsFromBackupResource(apiClient apiextensionsclientset.Interface, namespace string) ([]string, error)
GetBackupsFromBackupResource returns a list of all velero backups
func GetLatestBackupFromBackupResource ¶
func GetLatestBackupFromBackupResource(apiClient apiextensionsclientset.Interface, namespace string) (string, error)
GetLatestBackupFromBackupResource returns the latest velero backup name
func RestoreFromBackup ¶
func RestoreFromBackup(apiClient apiextensionsclientset.Interface, kubeClient kubernetes.Interface, namespace string, backupName string) error
RestoreFromBackup restores from a named velero backup
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.