testsuite

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.0 Imports: 23 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