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

Interface Cmder

pkg/image/exec/exec.go:46–49  ·  view source on GitHub ↗

Cmder abstracts over creating commands

Source from the content-addressed store, hash-verified

44
45// Cmder abstracts over creating commands
46type Cmder interface {
47 // command, args..., just like os/exec.Cmd
48 Command(string, ...string) Cmd
49}
50
51// DefaultCmder is a LocalCmder instance used for convienience, packages
52// originally using os/exec.Command can instead use pkg/kind/exec.Command

Callers 4

TestAggregation_tarfileFunction · 0.65
CommandFunction · 0.65
CommandMethod · 0.65
ensureExistsFunction · 0.65

Implementers 1

LocalCmderpkg/image/exec/local.go

Calls

no outgoing calls

Tested by

no test coverage detected