velero

package
v2.1.153 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL