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

Method WithTimeout

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

WithTimeout defines the execution timeout for a command.

(timeout time.Duration)

Source from the content-addressed store, hash-verified

115 WithCwd(path string)
116 // WithTimeout defines the execution timeout for a command.
117 WithTimeout(timeout time.Duration)
118 // Setenv allows to override a specific env variable directly for a specific command instead of test-wide
119 Setenv(key, value string)
120 // WithFeeder allows passing a reader to be fed to the command stdin.

Callers 15

TestIPFSCompBuildFunction · 0.95
TestIPFSNerdctlRegistryFunction · 0.95
RunMethod · 0.65
StopFunction · 0.65
RunSigProxyContainerFunction · 0.65
HandlerMethod · 0.65
matchesTaskFiltersMethod · 0.65
InspectFunction · 0.65
ReadAtMethod · 0.65
ContainerNamesFunction · 0.65

Implementers 1

GenericCommandmod/tigron/test/command.go

Calls

no outgoing calls

Tested by 7

TestIPFSCompBuildFunction · 0.76
TestIPFSNerdctlRegistryFunction · 0.76
TestStopWithTimeoutFunction · 0.52
TestLogsTailFollowRotateFunction · 0.52
testEventFilterExecutorFunction · 0.52