MCPcopy
hub / github.com/hyperledger/fabric / ChaincodeLauncher

Struct ChaincodeLauncher

core/chaincode/lifecycle/mock/chaincode_launcher.go:10–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8)
9
10type ChaincodeLauncher struct {
11 LaunchStub func(string) error
12 launchMutex sync.RWMutex
13 launchArgsForCall []struct {
14 arg1 string
15 }
16 launchReturns struct {
17 result1 error
18 }
19 launchReturnsOnCall map[int]struct {
20 result1 error
21 }
22 StopStub func(string) error
23 stopMutex sync.RWMutex
24 stopArgsForCall []struct {
25 arg1 string
26 }
27 stopReturns struct {
28 result1 error
29 }
30 stopReturnsOnCall map[int]struct {
31 result1 error
32 }
33 invocations map[string][][]interface{}
34 invocationsMutex sync.RWMutex
35}
36
37func (fake *ChaincodeLauncher) Launch(arg1 string) error {
38 fake.launchMutex.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected