util

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: Apache-2.0 Imports: 15 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecutePreBackupActions

func ExecutePreBackupActions(opt ActionOptions) error

ExecutePreBackupActions executes pre-backup actions such as InitializeBackendRepository etc.

func ExtractAddonInfo added in v0.11.10

func ExtractAddonInfo(appClient appcatalog_cs.Interface, task v1beta1.TaskRef, targetRef v1beta1.TargetRef) (*appcat.StashTaskSpec, error)

func IsRepositoryInitialized

func IsRepositoryInitialized(opt ActionOptions) (bool, error)

IsRepositoryInitialized check whether the backend restic repository has been initialized or not

func WaitForBackendRepository

func WaitForBackendRepository(opt ActionOptions) error

Types

type ActionOptions

type ActionOptions struct {
	StashClient       cs.Interface
	TargetRef         v1beta1.TargetRef
	SetupOptions      restic.SetupOptions
	BackupSessionName string
	Namespace         string
}

Jump to

Keyboard shortcuts

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