Documentation ¶
Index ¶
- func CreateInstanceBackup(options CreateInstanceBackupOptions) error
- func DetectVeleroNamespace() (string, error)
- func EnsureVeleroNamespaceConfigMap(veleroNamespace string, kotsadmNamespace string) error
- func EnsureVeleroPermissions(veleroNamespace string, kotsadmNamespace string) error
- func ListInstanceBackups(options ListInstanceBackupsOptions) ([]velerov1.Backup, error)
- func ListInstanceRestores(options ListInstanceRestoresOptions) ([]velerov1.Restore, error)
- func RestoreInstanceBackup(options RestoreInstanceBackupOptions) (*velerov1.Restore, error)
- type CreateInstanceBackupOptions
- type ListInstanceBackupsOptions
- type ListInstanceRestoresOptions
- type RestoreInstanceBackupOptions
- type VeleroRBACResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateInstanceBackup ¶
func CreateInstanceBackup(options CreateInstanceBackupOptions) error
func DetectVeleroNamespace ¶
func EnsureVeleroPermissions ¶
func ListInstanceBackups ¶
func ListInstanceBackups(options ListInstanceBackupsOptions) ([]velerov1.Backup, error)
func ListInstanceRestores ¶
func ListInstanceRestores(options ListInstanceRestoresOptions) ([]velerov1.Restore, error)
func RestoreInstanceBackup ¶
func RestoreInstanceBackup(options RestoreInstanceBackupOptions) (*velerov1.Restore, error)
Types ¶
type CreateInstanceBackupOptions ¶
type CreateInstanceBackupOptions struct { Namespace string KubernetesConfigFlags *genericclioptions.ConfigFlags Wait bool }
type ListInstanceBackupsOptions ¶
type ListInstanceBackupsOptions struct {
Namespace string
}
type ListInstanceRestoresOptions ¶
type ListInstanceRestoresOptions struct {
Namespace string
}
type RestoreInstanceBackupOptions ¶
type RestoreInstanceBackupOptions struct { BackupName string KubernetesConfigFlags *genericclioptions.ConfigFlags WaitForApps bool VeleroNamespace string }
type VeleroRBACResponse ¶
Click to show internal directories.
Click to hide internal directories.