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

Method WithCwd

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

WithCwd allows specifying the working directory for the command.

(path string)

Source from the content-addressed store, hash-verified

113 WithPseudoTTY()
114 // WithCwd allows specifying the working directory for the command.
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

Callers 3

RunMethod · 0.65
GenerateCosignKeyPairFunction · 0.65
TestBuildWithDockerfileFunction · 0.65

Implementers 1

GenericCommandmod/tigron/test/command.go

Calls

no outgoing calls

Tested by 1

TestBuildWithDockerfileFunction · 0.52