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

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupClientConnection

func SetupClientConnection(address string) (*grpc.ClientConn, error)

SetupClientConnection sets up the connection to the server.

func SetupSharedContext

func SetupSharedContext(vars *CommonTestVars, destURL string, s3Args []string)

SetupSharedContext sets up the context for testing.

func TeardownSuite

func TeardownSuite(vars *CommonTestVars)

TeardownSuite cleans up the test suite.

Types

type CommonTestVars

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

CommonTestVars holds common test variables.

func InitializeTestSuite

func InitializeTestSuite() (*CommonTestVars, error)

InitializeTestSuite initializes the test suite by setting up the necessary components.

Jump to

Keyboard shortcuts

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