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

Method Capture

mod/tigron/test/interfaces.go:80–80  ·  view source on GitHub ↗

Capture runs a command, verifies it succeeded, and returns stdout.

(args ...string)

Source from the content-addressed store, hash-verified

78 Fail(args ...string)
79 // Capture runs a command, verifies it succeeded, and returns stdout.
80 Capture(args ...string) string
81 // Err runs a command, and returns stderr regardless of its outcome.
82 // This is mostly useful for debugging.
83 Err(args ...string) string

Callers 15

requirements.goFile · 0.65
InfoFunction · 0.65
RunSigProxyContainerFunction · 0.65
EnsureContainerStartedFunction · 0.65
EnsureContainerExitedFunction · 0.65
ensureContainerStartedFunction · 0.65
NewKuboRegistryFunction · 0.65
TestAttachFunction · 0.65
TestAttachDetachKeysFunction · 0.65
TestAttachNoStdinFunction · 0.65
TestNoneNetworkHostNameFunction · 0.65

Implementers 1

helpersInternalmod/tigron/test/helpers.go

Calls

no outgoing calls

Tested by 15

TestAttachFunction · 0.52
TestAttachDetachKeysFunction · 0.52
TestAttachNoStdinFunction · 0.52
TestNoneNetworkHostNameFunction · 0.52
TestStartDetachKeysFunction · 0.52
TestStartWithCheckpointFunction · 0.52
TestRunWithDetachKeysFunction · 0.52
TestIssue3568Function · 0.52