testutil

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DataDir

func DataDir(name string) string

func EnsureProcessHasTerminated added in v0.0.2

func EnsureProcessHasTerminated(proc *os.Process, timeout time.Duration) error

func EnsureProcessIsAlive added in v0.0.2

func EnsureProcessIsAlive(proc *os.Process) error

func FindProcessByPidfile added in v0.0.2

func FindProcessByPidfile(filename string) (*os.Process, error)

func NewContainer

func NewContainer() *container.Container

func ReadPidfile added in v0.0.2

func ReadPidfile(filename string) (pid int, err error)

func TempDir

func TempDir(t *testing.T, suffix ...string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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