Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type DefaultACLProvider
- func (fake *DefaultACLProvider) CheckACL(arg1 string, arg2 string, arg3 interface{}) error
- func (fake *DefaultACLProvider) CheckACLArgsForCall(i int) (string, string, interface{})
- func (fake *DefaultACLProvider) CheckACLCallCount() int
- func (fake *DefaultACLProvider) CheckACLCalls(stub func(string, string, interface{}) error)
- func (fake *DefaultACLProvider) CheckACLReturns(result1 error)
- func (fake *DefaultACLProvider) CheckACLReturnsOnCall(i int, result1 error)
- func (fake *DefaultACLProvider) Invocations() map[string][][]interface{}
- func (fake *DefaultACLProvider) IsPtypePolicy(arg1 string) bool
- func (fake *DefaultACLProvider) IsPtypePolicyArgsForCall(i int) string
- func (fake *DefaultACLProvider) IsPtypePolicyCallCount() int
- func (fake *DefaultACLProvider) IsPtypePolicyCalls(stub func(string) bool)
- func (fake *DefaultACLProvider) IsPtypePolicyReturns(result1 bool)
- func (fake *DefaultACLProvider) IsPtypePolicyReturnsOnCall(i int, result1 bool)
- type MockACLProvider
- func (m *MockACLProvider) AssertExpectations(t *testing.T)
- func (m *MockACLProvider) CheckACL(resName string, channelID string, idinfo interface{}) error
- func (m *MockACLProvider) GenerateSimulationResults(txEnvelop *common.Envelope, simulator ledger.TxSimulator, ...) error
- func (m *MockACLProvider) On(methodName string, arguments ...interface{}) *mock.Call
- func (m *MockACLProvider) Reset()
- type SignerSerializer
- func (fake *SignerSerializer) Invocations() map[string][][]interface{}
- func (fake *SignerSerializer) Serialize() ([]byte, error)
- func (fake *SignerSerializer) SerializeCallCount() int
- func (fake *SignerSerializer) SerializeCalls(stub func() ([]byte, error))
- func (fake *SignerSerializer) SerializeReturns(result1 []byte, result2 error)
- func (fake *SignerSerializer) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *SignerSerializer) Sign(arg1 []byte) ([]byte, error)
- func (fake *SignerSerializer) SignArgsForCall(i int) []byte
- func (fake *SignerSerializer) SignCallCount() int
- func (fake *SignerSerializer) SignCalls(stub func([]byte) ([]byte, error))
- func (fake *SignerSerializer) SignReturns(result1 []byte, result2 error)
- func (fake *SignerSerializer) SignReturnsOnCall(i int, result1 []byte, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DefaultACLProvider ¶ added in v1.5.6
type DefaultACLProvider struct { CheckACLStub func(string, string, interface{}) error IsPtypePolicyStub func(string) bool // contains filtered or unexported fields }
func (*DefaultACLProvider) CheckACL ¶ added in v1.5.6
func (fake *DefaultACLProvider) CheckACL(arg1 string, arg2 string, arg3 interface{}) error
func (*DefaultACLProvider) CheckACLArgsForCall ¶ added in v1.5.6
func (fake *DefaultACLProvider) CheckACLArgsForCall(i int) (string, string, interface{})
func (*DefaultACLProvider) CheckACLCallCount ¶ added in v1.5.6
func (fake *DefaultACLProvider) CheckACLCallCount() int
func (*DefaultACLProvider) CheckACLCalls ¶ added in v1.5.6
func (fake *DefaultACLProvider) CheckACLCalls(stub func(string, string, interface{}) error)
func (*DefaultACLProvider) CheckACLReturns ¶ added in v1.5.6
func (fake *DefaultACLProvider) CheckACLReturns(result1 error)
func (*DefaultACLProvider) CheckACLReturnsOnCall ¶ added in v1.5.6
func (fake *DefaultACLProvider) CheckACLReturnsOnCall(i int, result1 error)
func (*DefaultACLProvider) Invocations ¶ added in v1.5.6
func (fake *DefaultACLProvider) Invocations() map[string][][]interface{}
func (*DefaultACLProvider) IsPtypePolicy ¶ added in v1.5.6
func (fake *DefaultACLProvider) IsPtypePolicy(arg1 string) bool
func (*DefaultACLProvider) IsPtypePolicyArgsForCall ¶ added in v1.5.6
func (fake *DefaultACLProvider) IsPtypePolicyArgsForCall(i int) string
func (*DefaultACLProvider) IsPtypePolicyCallCount ¶ added in v1.5.6
func (fake *DefaultACLProvider) IsPtypePolicyCallCount() int
func (*DefaultACLProvider) IsPtypePolicyCalls ¶ added in v1.5.6
func (fake *DefaultACLProvider) IsPtypePolicyCalls(stub func(string) bool)
func (*DefaultACLProvider) IsPtypePolicyReturns ¶ added in v1.5.6
func (fake *DefaultACLProvider) IsPtypePolicyReturns(result1 bool)
func (*DefaultACLProvider) IsPtypePolicyReturnsOnCall ¶ added in v1.5.6
func (fake *DefaultACLProvider) IsPtypePolicyReturnsOnCall(i int, result1 bool)
type MockACLProvider ¶
type MockACLProvider struct {
// contains filtered or unexported fields
}
func (*MockACLProvider) AssertExpectations ¶
func (m *MockACLProvider) AssertExpectations(t *testing.T)
AssertExpectations overrider the mock method for convenience
func (*MockACLProvider) CheckACL ¶
func (m *MockACLProvider) CheckACL(resName string, channelID string, idinfo interface{}) error
func (*MockACLProvider) GenerateSimulationResults ¶
func (m *MockACLProvider) GenerateSimulationResults(txEnvelop *common.Envelope, simulator ledger.TxSimulator, initializingLedger bool) error
func (*MockACLProvider) On ¶
func (m *MockACLProvider) On(methodName string, arguments ...interface{}) *mock.Call
On overrider the mock method for convenience
func (*MockACLProvider) Reset ¶
func (m *MockACLProvider) Reset()
clear the mock so we can start afresh
type SignerSerializer ¶ added in v1.5.6
type SignerSerializer struct { SerializeStub func() ([]byte, error) SignStub func([]byte) ([]byte, error) // contains filtered or unexported fields }
func (*SignerSerializer) Invocations ¶ added in v1.5.6
func (fake *SignerSerializer) Invocations() map[string][][]interface{}
func (*SignerSerializer) Serialize ¶ added in v1.5.6
func (fake *SignerSerializer) Serialize() ([]byte, error)
func (*SignerSerializer) SerializeCallCount ¶ added in v1.5.6
func (fake *SignerSerializer) SerializeCallCount() int
func (*SignerSerializer) SerializeCalls ¶ added in v1.5.6
func (fake *SignerSerializer) SerializeCalls(stub func() ([]byte, error))
func (*SignerSerializer) SerializeReturns ¶ added in v1.5.6
func (fake *SignerSerializer) SerializeReturns(result1 []byte, result2 error)
func (*SignerSerializer) SerializeReturnsOnCall ¶ added in v1.5.6
func (fake *SignerSerializer) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
func (*SignerSerializer) Sign ¶ added in v1.5.6
func (fake *SignerSerializer) Sign(arg1 []byte) ([]byte, error)
func (*SignerSerializer) SignArgsForCall ¶ added in v1.5.6
func (fake *SignerSerializer) SignArgsForCall(i int) []byte
func (*SignerSerializer) SignCallCount ¶ added in v1.5.6
func (fake *SignerSerializer) SignCallCount() int
func (*SignerSerializer) SignCalls ¶ added in v1.5.6
func (fake *SignerSerializer) SignCalls(stub func([]byte) ([]byte, error))
func (*SignerSerializer) SignReturns ¶ added in v1.5.6
func (fake *SignerSerializer) SignReturns(result1 []byte, result2 error)
func (*SignerSerializer) SignReturnsOnCall ¶ added in v1.5.6
func (fake *SignerSerializer) SignReturnsOnCall(i int, result1 []byte, result2 error)
Click to show internal directories.
Click to hide internal directories.