snapshot

package
v1.15.5 Latest Latest
Warning

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

Go to latest
Published: May 26, 2020 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBackup

func CreateBackup(a *app.App) error

func CreateRestore

func CreateRestore(snapshotName string) error

func DeleteRestore

func DeleteRestore(snapshotName string) error

func GetBackup

func GetBackup(snapshotName string) (*veleroapiv1.Backup, error)

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 ListBackupsForApp

func ListBackupsForApp(appID string) ([]*types.Backup, error)

func Redact

func Redact(store *types.Store) error

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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