MCPcopy Create free account
hub / github.com/cloudfoundry/cli / FakeCommandList

Struct FakeCommandList

actor/pluginaction/pluginactionfakes/fake_command_list.go:10–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type FakeCommandList struct {
11 HasAliasStub func(string) bool
12 hasAliasMutex sync.RWMutex
13 hasAliasArgsForCall []struct {
14 arg1 string
15 }
16 hasAliasReturns struct {
17 result1 bool
18 }
19 hasAliasReturnsOnCall map[int]struct {
20 result1 bool
21 }
22 HasCommandStub func(string) bool
23 hasCommandMutex sync.RWMutex
24 hasCommandArgsForCall []struct {
25 arg1 string
26 }
27 hasCommandReturns struct {
28 result1 bool
29 }
30 hasCommandReturnsOnCall map[int]struct {
31 result1 bool
32 }
33 invocations map[string][][]interface{}
34 invocationsMutex sync.RWMutex
35}
36
37func (fake *FakeCommandList) HasAlias(arg1 string) bool {
38 fake.hasAliasMutex.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected