backup

package
v0.9.5 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backup

type Backup[T BackupOptions] interface {
	Exists() bool
	Save(opts T) error
	Restore(opts T) error
	Remove() error
}

func NewCAPIBackup

func NewCAPIBackup(cluster string) Backup[apiclient.MoveOptions]

type BackupOptions

type BackupOptions any

type CAPIBackup

type CAPIBackup struct {
	// contains filtered or unexported fields
}

func (CAPIBackup) Exists

func (this CAPIBackup) Exists() bool

func (CAPIBackup) Remove

func (this CAPIBackup) Remove() error

func (CAPIBackup) Restore

func (this CAPIBackup) Restore(options apiclient.MoveOptions) error

func (CAPIBackup) Save

func (this CAPIBackup) Save(options apiclient.MoveOptions) error

Jump to

Keyboard shortcuts

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