MCPcopy Create free account
hub / github.com/containerd/nerdctl / Command

Function Command

mod/tigron/test/expected.go:21–25  ·  view source on GitHub ↗

Command is the simplest way to express a test.TestableCommand for very basic cases where access to test data is not necessary.

(args ...string)

Source from the content-addressed store, hash-verified

19// Command is the simplest way to express a test.TestableCommand for very basic cases
20// where access to test data is not necessary.
21func Command(args ...string) Executor {
22 return func(_ Data, helpers Helpers) TestableCommand {
23 return helpers.Command(args...)
24 }
25}
26
27// Expects is provided as a simple helper covering "expectations" for simple use-cases
28// where access to the test data is not necessary.

Callers

nothing calls this directly

Calls 1

CommandMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…