Documentation ¶
Index ¶
- Constants
- func CheckVeleroVersion(ctx context.Context, veleroCLI string, expectedVer string) error
- func DeleteBackupResource(ctx context.Context, veleroCLI string, backupName string) error
- func InstallVeleroCLI(version string) (string, error)
- func RunDebug(ctx context.Context, veleroCLI, veleroNamespace, backup, restore string)
- func VeleroAddPluginsForProvider(ctx context.Context, veleroCLI string, veleroNamespace string, provider string, ...) error
- func VeleroBackupExcludeNamespaces(ctx context.Context, veleroCLI string, veleroNamespace string, ...) error
- func VeleroBackupExec(ctx context.Context, veleroCLI string, veleroNamespace string, ...) error
- func VeleroBackupIncludeNamespaces(ctx context.Context, veleroCLI string, veleroNamespace string, ...) error
- func VeleroBackupLogs(ctx context.Context, veleroCLI string, veleroNamespace string, ...) error
- func VeleroBackupNamespace(ctx context.Context, veleroCLI string, veleroNamespace string, ...) error
- func VeleroCmdExec(ctx context.Context, veleroCLI string, args []string) error
- func VeleroCreateBackupLocation(ctx context.Context, ...) error
- func VeleroInstall(ctx context.Context, veleroCfg *VerleroConfig, features string, ...) error
- func VeleroRestore(ctx context.Context, veleroCLI string, veleroNamespace string, ...) error
- func VeleroRestoreExec(ctx context.Context, veleroCLI, veleroNamespace, restoreName string, ...) error
- func VeleroUninstall(ctx context.Context, cli, namespace string) error
- func WaitForVSphereUploadCompletion(ctx context.Context, timeout time.Duration, namespace string) error
Constants ¶
View Source
const (
BackupObjectsPrefix = "backups"
)
Variables ¶
This section is empty.
Functions ¶
func CheckVeleroVersion ¶
func DeleteBackupResource ¶
func InstallVeleroCLI ¶
func VeleroAddPluginsForProvider ¶
func VeleroAddPluginsForProvider(ctx context.Context, veleroCLI string, veleroNamespace string, provider string, addPlugins string) error
VeleroAddPluginsForProvider determines which plugins need to be installed for a provider and installs them in the current Velero installation, skipping over those that are already installed.
func VeleroBackupExcludeNamespaces ¶
func VeleroBackupExcludeNamespaces(ctx context.Context, veleroCLI string, veleroNamespace string, backupName string, excludeNamespaces []string) error
VeleroBackupExcludeNamespaces uses the veleroCLI to backup a namespace.
func VeleroBackupExec ¶
func VeleroBackupIncludeNamespaces ¶
func VeleroBackupIncludeNamespaces(ctx context.Context, veleroCLI string, veleroNamespace string, backupName string, includeNamespaces []string) error
VeleroBackupIncludeNamespaces uses the veleroCLI to backup a namespace.
func VeleroBackupLogs ¶
func VeleroBackupNamespace ¶
func VeleroBackupNamespace(ctx context.Context, veleroCLI string, veleroNamespace string, backupName string, namespace string, backupLocation string, useVolumeSnapshots bool) error
VeleroBackupNamespace uses the veleroCLI to backup a namespace.
func VeleroInstall ¶
func VeleroRestore ¶
func VeleroRestore(ctx context.Context, veleroCLI string, veleroNamespace string, restoreName string, backupName string) error
VeleroRestore uses the VeleroCLI to restore from a Velero backup.
func VeleroRestoreExec ¶
func WaitForVSphereUploadCompletion ¶
func WaitForVSphereUploadCompletion(ctx context.Context, timeout time.Duration, namespace string) error
WaitForVSphereUploadCompletion waits for uploads started by the Velero Plug-in for vSphere to complete TODO - remove after upload progress monitoring is implemented
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.