package checker

import "github.com/dotcloud/docker/pkg/integration/checker"

Package checker provide Docker specific implementations of the go-check.Checker interface.

Index

Variables

var (
	DeepEquals   = check.DeepEquals
	Equals       = check.Equals
	ErrorMatches = check.ErrorMatches
	FitsTypeOf   = check.FitsTypeOf
	HasLen       = check.HasLen
	Implements   = check.Implements
	IsNil        = check.IsNil
	Matches      = check.Matches
	Not          = check.Not
	NotNil       = check.NotNil
	PanicMatches = check.PanicMatches
	Panics       = check.Panics
)

As a commodity, we bring all check.Checker variables into the current namespace to avoid having to think about check.X versus checker.X.

var Contains check.Checker = &containsChecker{
	&check.CheckerInfo{
		Name:   "Contains",
		Params: []string{"value", "substring"},
	},
}

Contains checker verifies that string value contains a substring.

Source Files

checker.go

Version
v1.9.0-rc3
Published
Oct 28, 2015
Platform
linux/amd64
Imports
3 packages
Last checked
9 minutes ago

Tools for package owners.