testutil

package
v0.0.0-...-15df1d5 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetBucket

func SetBucket(t *testing.T, initDir string) func()

SetBucket sets the bucket in the environment to a local pail bucket backed by a temporary directory. If initDir is not empty, the contents of the directory with the given path are copied to the local bucket. If an error is encountered it will fail the test.

Types

This section is empty.

Jump to

Keyboard shortcuts

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