MCPcopy
hub / github.com/vmware-tanzu/sonobuoy / Command

Method Command

pkg/image/exec/local.go:41–45  ·  view source on GitHub ↗

Command returns a new exec.Cmd backed by Cmd

(name string, arg ...string)

Source from the content-addressed store, hash-verified

39
40// Command returns a new exec.Cmd backed by Cmd
41func (c *LocalCmder) Command(name string, arg ...string) Cmd {
42 return &LocalCmd{
43 Cmd: osexec.Command(name, arg...),
44 }
45}
46
47// SetEnv sets env
48func (cmd *LocalCmd) SetEnv(env ...string) Cmd {

Callers

nothing calls this directly

Calls 1

CommandMethod · 0.65

Tested by

no test coverage detected