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

Struct GenericCommand

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

GenericCommand is a concrete Command implementation.

Source from the content-addressed store, hash-verified

98
99// GenericCommand is a concrete Command implementation.
100type GenericCommand struct {
101 Config Config
102 TempDir string
103 Env map[string]string
104
105 t tig.T
106
107 cmd *com.Command
108 async bool
109
110 rawStdErr string
111}
112
113func (gc *GenericCommand) WithBinary(binary string) {
114 gc.cmd.Binary = binary

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected