testsuite

package
v1.7.8 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SnapshotterSuite

func SnapshotterSuite(t *testing.T, name string, snapshotterFn SnapshotterFunc)

SnapshotterSuite runs a test suite on the snapshotter given a factory function.

Types

type SnapshotterFunc added in v1.4.0

type SnapshotterFunc func(ctx context.Context, root string) (snapshots.Snapshotter, func() error, error)

SnapshotterFunc is used in SnapshotterSuite

Jump to

Keyboard shortcuts

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