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 ¶
- Version
- v1.9.0-rc5
- Published
- Nov 3, 2015
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 2 minutes ago –
Tools for package owners.