restore

package
v0.1.23 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 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"`
	Destination string `envconfig:"RESTORE_DESTINATION"`
	Hostname    string `envconfig:"RESTORE_HOSTNAME"`
	SecretName  string `envconfig:"RESTORE_SECRET_NAME"`
	RestoreID   string `envconfig:"RESTORE_ID"`
}

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"`
	BackupBaseDir            string `envconfig:"RESTORE_LOCAL_BACKUP_BASE_DIR"`
	Hostname                 string `envconfig:"RESTORE_LOCAL_HOSTNAME"`
	RestoreID                string `envconfig:"RESTORE_LOCAL_ID"`
}

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