command

package
v1.87.5 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommand

func GetCommand(
	bucketName string,
	backupName string,
	backupTime string,
	certsFolder string,
	accessKeyIDPath string,
	secretAccessKeyPath string,
	sessionTokenPath string,
	region string,
	endpoint string,
	dbConn db.Connection,
	action Action,
) (cmd string, pw *corev1.EnvVar)

Types

type Action

type Action string
const (
	Backup  Action = "BACKUP TO"
	Restore Action = "RESTORE FROM"
)

Jump to

Keyboard shortcuts

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