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 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.
Click to show internal directories.
Click to hide internal directories.