Documentation ¶
Index ¶
- func CreateApplicationBackup(ctx context.Context, a *apptypes.App, isScheduled bool) (*velerov1.Backup, error)
- func CreateApplicationRestore(ctx context.Context, kotsadmNamespace string, snapshotName string, ...) error
- func CreateInstanceBackup(ctx context.Context, cluster *downstreamtypes.Downstream, isScheduled bool) (*velerov1.Backup, error)
- func DeleteBackup(ctx context.Context, kotsadmNamespace string, snapshotName string) error
- func DeleteRestore(ctx context.Context, kotsadmNamespace string, snapshotName string) error
- func DownloadRequest(veleroNamespace string, kind velerov1.DownloadTargetKind, name string) (io.ReadCloser, error)
- func DownloadRestoreResults(veleroNamespace, restoreName string) ([]types.SnapshotError, []types.SnapshotError, error)
- func FormatTTL(quantity string, unit string) (string, error)
- func GetBackup(ctx context.Context, kotsadmNamespace string, snapshotName string) (*velerov1.Backup, error)
- func GetBackupDetail(ctx context.Context, kotsadmNamespace string, backupName string) (*types.BackupDetail, error)
- func GetRestore(ctx context.Context, kotsadmNamespace string, snapshotName string) (*velerov1.Restore, error)
- func GetRestoreDetails(ctx context.Context, kotsadmNamespace string, restoreName string) (*types.RestoreDetail, error)
- func HasUnfinishedApplicationBackup(ctx context.Context, kotsadmNamespace string, appID string) (bool, error)
- func HasUnfinishedInstanceBackup(ctx context.Context, kotsadmNamespace string) (bool, error)
- func ListBackupsForApp(ctx context.Context, kotsadmNamespace string, appID string) ([]*types.Backup, error)
- func ListInstanceBackups(ctx context.Context, kotsadmNamespace string) ([]*types.Backup, error)
- func ParseTTL(s string) (*snapshottypes.ParsedTTL, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateApplicationBackup ¶
func CreateInstanceBackup ¶
func CreateInstanceBackup(ctx context.Context, cluster *downstreamtypes.Downstream, isScheduled bool) (*velerov1.Backup, error)
func DeleteBackup ¶
func DeleteRestore ¶
func DownloadRequest ¶
func DownloadRequest(veleroNamespace string, kind velerov1.DownloadTargetKind, name string) (io.ReadCloser, error)
func DownloadRestoreResults ¶
func DownloadRestoreResults(veleroNamespace, restoreName string) ([]types.SnapshotError, []types.SnapshotError, error)
func GetBackupDetail ¶
func GetRestore ¶
func GetRestoreDetails ¶
func ListBackupsForApp ¶
func ListInstanceBackups ¶
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.