docker: github.com/docker/docker/integration-cli/checker Index | Files

package checker

import "github.com/docker/docker/integration-cli/checker"

Package checker provides helpers for gotest.tools/assert. Please remove this package whenever possible.

Index

Package Files

checker.go

type Compare Uses

type Compare func(x interface{}) assert.BoolOrComparison

Compare defines the interface to compare values

func Contains Uses

func Contains(y interface{}) Compare

Contains checks if the value contains the given value

func DeepEquals Uses

func DeepEquals(y interface{}) Compare

DeepEquals checks if two values are equal

func Equals Uses

func Equals(y interface{}) Compare

Equals checks if the value is equal to the given value

func False Uses

func False() Compare

False checks if the value is false

func GreaterThan Uses

func GreaterThan(y int) Compare

GreaterThan checks if the value is greater than the given value

func HasLen Uses

func HasLen(y int) Compare

HasLen checks if the value has the expected number of elements

func IsNil Uses

func IsNil() Compare

IsNil checks if the value is nil

func Not Uses

func Not(c Compare) Compare

Not checks if two values are not

func True Uses

func True() Compare

True checks if the value is true

Package checker imports 3 packages (graph) and is imported by 91 packages. Updated 2020-03-02. Refresh now. Tools for package owners.