backup

package
v0.25.41 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2023 License: Apache-2.0 Imports: 23 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupManager

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

func NewBackupManager

func NewBackupManager(cluster string, config *rest.Config, sanitize bool) BackupManager

func (BackupManager) Backup

func (mgr BackupManager) Backup(process processorFunc) error

func (BackupManager) BackupToDir

func (mgr BackupManager) BackupToDir(backupDir string) (string, error)

func (BackupManager) BackupToTar

func (mgr BackupManager) BackupToTar(backupDir string) (string, error)

type ItemList

type ItemList struct {
	Items []map[string]interface{} `json:"items,omitempty"`
}

Jump to

Keyboard shortcuts

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