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

Struct Policy

core/chaincode/mock/policy.go:11–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9)
10
11type Policy struct {
12 EvaluateIdentitiesStub func([]msp.Identity) error
13 evaluateIdentitiesMutex sync.RWMutex
14 evaluateIdentitiesArgsForCall []struct {
15 arg1 []msp.Identity
16 }
17 evaluateIdentitiesReturns struct {
18 result1 error
19 }
20 evaluateIdentitiesReturnsOnCall map[int]struct {
21 result1 error
22 }
23 EvaluateSignedDataStub func([]*protoutil.SignedData) error
24 evaluateSignedDataMutex sync.RWMutex
25 evaluateSignedDataArgsForCall []struct {
26 arg1 []*protoutil.SignedData
27 }
28 evaluateSignedDataReturns struct {
29 result1 error
30 }
31 evaluateSignedDataReturnsOnCall map[int]struct {
32 result1 error
33 }
34 invocations map[string][][]interface{}
35 invocationsMutex sync.RWMutex
36}
37
38func (fake *Policy) EvaluateIdentities(arg1 []msp.Identity) error {
39 var arg1Copy []msp.Identity

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected