backup

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: Apache-2.0 Imports: 28 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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