vtctlbackup

package
v0.15.5 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	XtraBackup = iota
	Backup
	Mysqlctld
)

constants for test variants

Variables

This section is empty.

Functions

func LaunchCluster

func LaunchCluster(setupType int, streamMode string, stripes int, cDetails *CompressionDetails) (int, error)

LaunchCluster : starts the cluster as per given params.

func TearDownCluster

func TearDownCluster()

TearDownCluster shuts down all cluster processes

func TestBackup

func TestBackup(t *testing.T, setupType int, streamMode string, stripes int, cDetails *CompressionDetails, runSpecific []string) error

TestBackup runs all the backup tests

Types

type CompressionDetails added in v0.15.0

type CompressionDetails struct {
	CompressorEngineName    string
	ExternalCompressorCmd   string
	ExternalCompressorExt   string
	ExternalDecompressorCmd string
}

Jump to

Keyboard shortcuts

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