restore

package
v0.1.27 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketToPVCCmd

type BucketToPVCCmd struct {
	Bucket      string `envconfig:"RESTORE_BUCKET" yaml:"bucket"`
	Destination string `envconfig:"RESTORE_DESTINATION" yaml:"destination"`
	Hostname    string `envconfig:"RESTORE_HOSTNAME" yaml:"hostname"`
	SecretName  string `envconfig:"RESTORE_SECRET_NAME" yaml:"secretName"`
	RestoreID   string `envconfig:"RESTORE_ID" yaml:"restoreID"`
}

func (*BucketToPVCCmd) Execute

func (r *BucketToPVCCmd) Execute(ctx context.Context, _ *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

func (*BucketToPVCCmd) Name

func (*BucketToPVCCmd) Name() string

func (*BucketToPVCCmd) SetFlags

func (r *BucketToPVCCmd) SetFlags(f *flag.FlagSet)

func (*BucketToPVCCmd) Synopsis

func (*BucketToPVCCmd) Synopsis() string

func (*BucketToPVCCmd) Usage

func (*BucketToPVCCmd) Usage() string

type LocalInPVCCmd

type LocalInPVCCmd struct {
	BackupSequenceFolderName string `envconfig:"RESTORE_LOCAL_BACKUP_FOLDER_NAME" yaml:"backupSequenceFolderName"`
	BackupSourceBaseDir      string `envconfig:"RESTORE_LOCAL_BACKUP_SRC_BASE_DIR" yaml:"backupSourceBaseDir"`
	BackupDestinationBaseDir string `envconfig:"RESTORE_LOCAL_BACKUP_DEST_BASE_DIR" yaml:"backupDestinationBaseDir"`
	BackupDir                string `envconfig:"RESTORE_LOCAL_BACKUP_BACKUP_DIR" yaml:"backupDir"`
	Hostname                 string `envconfig:"RESTORE_LOCAL_HOSTNAME" yaml:"hostname"`
	RestoreID                string `envconfig:"RESTORE_LOCAL_ID" yaml:"restoreID"`
}

func (*LocalInPVCCmd) Execute

func (r *LocalInPVCCmd) Execute(_ context.Context, _ *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

func (*LocalInPVCCmd) Name

func (*LocalInPVCCmd) Name() string

func (*LocalInPVCCmd) SetFlags

func (r *LocalInPVCCmd) SetFlags(f *flag.FlagSet)

func (*LocalInPVCCmd) Synopsis

func (*LocalInPVCCmd) Synopsis() string

func (*LocalInPVCCmd) Usage

func (*LocalInPVCCmd) Usage() string

Jump to

Keyboard shortcuts

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