MCPcopy Create free account
hub / github.com/cloudfoundry/bosh-agent / FakeScript

Struct FakeScript

agent/script/scriptfakes/fake_script.go:10–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type FakeScript struct {
11 ExistsStub func() bool
12 existsMutex sync.RWMutex
13 existsArgsForCall []struct {
14 }
15 existsReturns struct {
16 result1 bool
17 }
18 existsReturnsOnCall map[int]struct {
19 result1 bool
20 }
21 PathStub func() string
22 pathMutex sync.RWMutex
23 pathArgsForCall []struct {
24 }
25 pathReturns struct {
26 result1 string
27 }
28 pathReturnsOnCall map[int]struct {
29 result1 string
30 }
31 RunStub func() error
32 runMutex sync.RWMutex
33 runArgsForCall []struct {
34 }
35 runReturns struct {
36 result1 error
37 }
38 runReturnsOnCall map[int]struct {
39 result1 error
40 }
41 TagStub func() string
42 tagMutex sync.RWMutex
43 tagArgsForCall []struct {
44 }
45 tagReturns struct {
46 result1 string
47 }
48 tagReturnsOnCall map[int]struct {
49 result1 string
50 }
51 invocations map[string][][]interface{}
52 invocationsMutex sync.RWMutex
53}
54
55func (fake *FakeScript) Exists() bool {
56 fake.existsMutex.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected