Documentation ¶
Index ¶
- func CreateBackup(a *app.App) error
- func CreateRestore(snapshotName string) error
- func DeleteRestore(snapshotName string) error
- func GetBackup(snapshotName string) (*veleroapiv1.Backup, error)
- func GetGlobalStore(kotsadmVeleroBackendStorageLocation *velerov1.BackupStorageLocation) (*types.Store, error)
- func ListBackupsForApp(appID string) ([]*types.Backup, error)
- func Redact(store *types.Store) error
- func UpdateGlobalStore(store *types.Store) (*velerov1.BackupStorageLocation, error)
- type VeleroStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBackup ¶
func CreateRestore ¶
func DeleteRestore ¶
func GetGlobalStore ¶
func GetGlobalStore(kotsadmVeleroBackendStorageLocation *velerov1.BackupStorageLocation) (*types.Store, error)
GetGlobalStore will return the global store from kotsadmVeleroBackupStorageLocation or will find it, is the param is nil
func UpdateGlobalStore ¶
func UpdateGlobalStore(store *types.Store) (*velerov1.BackupStorageLocation, error)
UpdateGlobalStore will update the in-cluster storage with exactly what's in the store param
Types ¶
type VeleroStatus ¶
type VeleroStatus struct { Version string Plugins []string Status string ResticVersion string ResticStatus string }
func DetectVelero ¶
func DetectVelero() (*VeleroStatus, error)
Click to show internal directories.
Click to hide internal directories.