package requirement

import "github.com/docker/cli/components/engine/integration-cli/requirement"

Index

Functions

func Is

func Is(s SkipT, requirements ...Test)

Is checks if the environment satisfies the requirements for the test to run or skips the tests.

Types

type SkipT

type SkipT interface {
	Skip(reason string)
}

SkipT is the interface required to skip tests

type Test

type Test func() bool

Test represent a function that can be used as a requirement validation.

Source Files

requirement.go

Version
v17.12.0-ce-rc3+incompatible
Published
Dec 14, 2017
Platform
js/wasm
Imports
5 packages
Last checked
4 hours ago

Tools for package owners.