MCPcopy
hub / github.com/cloudfoundry/cli / FakeCommandRunner

Struct FakeCommandRunner

plugin/rpc/rpcfakes/fake_command_runner.go:11–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type FakeCommandRunner struct {
12 CommandStub func([]string, commandregistry.Dependency, bool) error
13 commandMutex sync.RWMutex
14 commandArgsForCall []struct {
15 arg1 []string
16 arg2 commandregistry.Dependency
17 arg3 bool
18 }
19 commandReturns struct {
20 result1 error
21 }
22 commandReturnsOnCall map[int]struct {
23 result1 error
24 }
25 invocations map[string][][]interface{}
26 invocationsMutex sync.RWMutex
27}
28
29func (fake *FakeCommandRunner) Command(arg1 []string, arg2 commandregistry.Dependency, arg3 bool) error {
30 var arg1Copy []string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected