testutil

package
v20.10.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package testutil contains common testing tasks like running dockerd.

Index

Constants

This section is empty.

Variables

View Source
var DevZero io.Reader = devZero{}

DevZero acts like /dev/zero but in an OS-independent fashion.

Functions

func GenerateRandomAlphaOnlyString

func GenerateRandomAlphaOnlyString(n int) string

GenerateRandomAlphaOnlyString generates an alphabetical random string with length n.

Types

type HelperT

type HelperT interface {
	Helper()
}

HelperT is a subset of testing.T that implements the Helper function

Directories

Path Synopsis
Package daemon launches dockerd for testing purposes.
Package daemon launches dockerd for testing purposes.
fixtures

Jump to

Keyboard shortcuts

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