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

Function NewGenericCommand

mod/tigron/test/command.go:87–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85}
86
87func NewGenericCommand() CustomizableCommand {
88 genericCom := &GenericCommand{
89 Env: map[string]string{},
90 cmd: &com.Command{},
91 }
92
93 genericCom.cmd.Env = genericCom.Env
94 genericCom.cmd.Timeout = defaultExecutionTimeout
95
96 return genericCom
97}
98
99// GenericCommand is a concrete Command implementation.
100type GenericCommand struct {

Callers 1

RunMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…