restore

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BucketToHostpathCmd

type BucketToHostpathCmd 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 (*BucketToHostpathCmd) Execute

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

func (*BucketToHostpathCmd) Name

func (*BucketToHostpathCmd) Name() string

func (*BucketToHostpathCmd) SetFlags

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

func (*BucketToHostpathCmd) Synopsis

func (*BucketToHostpathCmd) Synopsis() string

func (*BucketToHostpathCmd) Usage

func (*BucketToHostpathCmd) Usage() string

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 LocalInHostpathCmd

type LocalInHostpathCmd struct {
	BackupFolderName 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 (*LocalInHostpathCmd) Execute

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

func (*LocalInHostpathCmd) Name

func (*LocalInHostpathCmd) Name() string

func (*LocalInHostpathCmd) SetFlags

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

func (*LocalInHostpathCmd) Synopsis

func (*LocalInHostpathCmd) Synopsis() string

func (*LocalInHostpathCmd) Usage

func (*LocalInHostpathCmd) 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