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

Method withConfig

mod/tigron/test/command.go:71–71  ·  view source on GitHub ↗

WithConfig allows passing custom config properties from the test to the base command

(config Config)

Source from the content-addressed store, hash-verified

69 withTempDir(path string)
70 // WithConfig allows passing custom config properties from the test to the base command
71 withConfig(config Config)
72 withT(t tig.T)
73 // Clear does a clone, but will clear binary and arguments while retaining the env, or any other
74 // custom properties Gotcha: if genericCommand is embedded with a custom Run and an overridden

Callers 1

RunMethod · 0.95

Implementers 1

GenericCommandmod/tigron/test/command.go

Calls

no outgoing calls

Tested by

no test coverage detected