package testsuite

import "github.com/containerd/containerd/snapshots/testsuite"

Index

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

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

SnapshotterFunc is used in SnapshotterSuite

Source Files

helpers.go helpers_linux.go issues.go testsuite.go testsuite_unix.go

Version
v1.5.8
Published
Nov 17, 2021
Platform
linux/amd64
Imports
23 packages
Last checked
1 minute ago

Tools for package owners.