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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBackupRestoreStatement

func GetBackupRestoreStatement(
	bucketName string,
	backupName string,
	backupTime string,
	serviceAccountPath string,
	action Action,
) string

func GetSQLCommand

func GetSQLCommand(
	dbConn db.Connection,
	certsFolder string,
	statements ...string,
) (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