fabric: github.com/hyperledger/fabric/common/configtx/mock Index | Files

package mock

import "github.com/hyperledger/fabric/common/configtx/mock"

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

policy.go policy_manager.go

type Policy Uses

type Policy struct {
    EvaluateIdentitiesStub func([]msp.Identity) error

    EvaluateSignedDataStub func([]*protoutil.SignedData) error
    // contains filtered or unexported fields
}

func (*Policy) EvaluateIdentities Uses

func (fake *Policy) EvaluateIdentities(arg1 []msp.Identity) error

func (*Policy) EvaluateIdentitiesArgsForCall Uses

func (fake *Policy) EvaluateIdentitiesArgsForCall(i int) []msp.Identity

func (*Policy) EvaluateIdentitiesCallCount Uses

func (fake *Policy) EvaluateIdentitiesCallCount() int

func (*Policy) EvaluateIdentitiesCalls Uses

func (fake *Policy) EvaluateIdentitiesCalls(stub func([]msp.Identity) error)

func (*Policy) EvaluateIdentitiesReturns Uses

func (fake *Policy) EvaluateIdentitiesReturns(result1 error)

func (*Policy) EvaluateIdentitiesReturnsOnCall Uses

func (fake *Policy) EvaluateIdentitiesReturnsOnCall(i int, result1 error)

func (*Policy) EvaluateSignedData Uses

func (fake *Policy) EvaluateSignedData(arg1 []*protoutil.SignedData) error

func (*Policy) EvaluateSignedDataArgsForCall Uses

func (fake *Policy) EvaluateSignedDataArgsForCall(i int) []*protoutil.SignedData

func (*Policy) EvaluateSignedDataCallCount Uses

func (fake *Policy) EvaluateSignedDataCallCount() int

func (*Policy) EvaluateSignedDataCalls Uses

func (fake *Policy) EvaluateSignedDataCalls(stub func([]*protoutil.SignedData) error)

func (*Policy) EvaluateSignedDataReturns Uses

func (fake *Policy) EvaluateSignedDataReturns(result1 error)

func (*Policy) EvaluateSignedDataReturnsOnCall Uses

func (fake *Policy) EvaluateSignedDataReturnsOnCall(i int, result1 error)

func (*Policy) Invocations Uses

func (fake *Policy) Invocations() map[string][][]interface{}

type PolicyManager Uses

type PolicyManager struct {
    GetPolicyStub func(string) (policies.Policy, bool)

    ManagerStub func([]string) (policies.Manager, bool)
    // contains filtered or unexported fields
}

func (*PolicyManager) GetPolicy Uses

func (fake *PolicyManager) GetPolicy(arg1 string) (policies.Policy, bool)

func (*PolicyManager) GetPolicyArgsForCall Uses

func (fake *PolicyManager) GetPolicyArgsForCall(i int) string

func (*PolicyManager) GetPolicyCallCount Uses

func (fake *PolicyManager) GetPolicyCallCount() int

func (*PolicyManager) GetPolicyCalls Uses

func (fake *PolicyManager) GetPolicyCalls(stub func(string) (policies.Policy, bool))

func (*PolicyManager) GetPolicyReturns Uses

func (fake *PolicyManager) GetPolicyReturns(result1 policies.Policy, result2 bool)

func (*PolicyManager) GetPolicyReturnsOnCall Uses

func (fake *PolicyManager) GetPolicyReturnsOnCall(i int, result1 policies.Policy, result2 bool)

func (*PolicyManager) Invocations Uses

func (fake *PolicyManager) Invocations() map[string][][]interface{}

func (*PolicyManager) Manager Uses

func (fake *PolicyManager) Manager(arg1 []string) (policies.Manager, bool)

func (*PolicyManager) ManagerArgsForCall Uses

func (fake *PolicyManager) ManagerArgsForCall(i int) []string

func (*PolicyManager) ManagerCallCount Uses

func (fake *PolicyManager) ManagerCallCount() int

func (*PolicyManager) ManagerCalls Uses

func (fake *PolicyManager) ManagerCalls(stub func([]string) (policies.Manager, bool))

func (*PolicyManager) ManagerReturns Uses

func (fake *PolicyManager) ManagerReturns(result1 policies.Manager, result2 bool)

func (*PolicyManager) ManagerReturnsOnCall Uses

func (fake *PolicyManager) ManagerReturnsOnCall(i int, result1 policies.Manager, result2 bool)

Package mock imports 4 packages (graph). Updated 2019-11-17. Refresh now. Tools for package owners.