docker: github.com/docker/docker/testutil Index | Files | Directories

package testutil

import "github.com/docker/docker/testutil"

Package testutil contains common testing tasks like running dockerd.

Index

Package Files

doc.go helper.go helpers.go stringutils.go

Variables

var DevZero io.Reader = devZero{}

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

func GenerateRandomAlphaOnlyString Uses

func GenerateRandomAlphaOnlyString(n int) string

GenerateRandomAlphaOnlyString generates an alphabetical random string with length n.

type HelperT Uses

type HelperT interface {
    Helper()
}

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

Directories

PathSynopsis
daemonPackage daemon launches dockerd for testing purposes.
environment
fakecontext
fakegit
fakestorage
fixtures/load
fixtures/plugin
fixtures/plugin/basic
registry
request

Package testutil imports 2 packages (graph) and is imported by 1 packages. Updated 2020-12-24. Refresh now. Tools for package owners.