backup

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package backup Conduct backup and recovery tests for different storage types in standalone mode.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTestLabels

func GetTestLabels() []string

GetTestLabels returns the test labels.

func SetupConnection

func SetupConnection(vars *CommonTestVars, addr string, destURL string, s3Args []string) error

SetupConnection sets up the connection to the server.

func TeardownSuite

func TeardownSuite(vars *CommonTestVars)

TeardownSuite cleans up the test suite.

Types

type CommonTestVars

type CommonTestVars struct {
	DeferFunc  func()
	Connection *grpc.ClientConn
	FS         remote.FS
	Dir        string
	DestDir    string
	Goods      []gleak.Goroutine
}

CommonTestVars is the common test variables.

func InitStandaloneEnv

func InitStandaloneEnv() (*CommonTestVars, string, error)

InitStandaloneEnv initializes the standalone environment.

Jump to

Keyboard shortcuts

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