e2e

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestEnv

type TestEnv string

TestEnv classifies a test integration environment.

const (
	// Hermetic runs entirely local (e.g., TempDir, Testcontainers). Safe for all machines.
	Hermetic TestEnv = "hermetic"
	// Live runs against real cloud vendor APIs (e.g., real AWS S3, real Google Drive). Requires secrets.
	Live TestEnv = "live"
)

type TestSource

type TestSource interface {
	Name() string
	Env() TestEnv
	Setup(t *testing.T) (sourceArgs []string)
	WriteFile(t *testing.T, relPath, content string)
}

TestSource encapsulates the origin of data to be backed up.

type TestStore

type TestStore interface {
	Name() string
	Env() TestEnv
	Setup(t *testing.T) (storeArgs []string)
}

TestStore encapsulates the content-addressable storage backend.

Jump to

Keyboard shortcuts

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