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 ¶
type DefaultACLProvider struct { CheckACLStub func(string, string, interface{}) error IsPtypePolicyStub func(string) bool // contains filtered or unexported fields }
func (*DefaultACLProvider) CheckACL ¶
func (fake *DefaultACLProvider) CheckACL(arg1 string, arg2 string, arg3 interface{}) error
func (*DefaultACLProvider) CheckACLArgsForCall ¶
func (fake *DefaultACLProvider) CheckACLArgsForCall(i int) (string, string, interface{})
func (*DefaultACLProvider) CheckACLCallCount ¶
func (fake *DefaultACLProvider) CheckACLCallCount() int
func (*DefaultACLProvider) CheckACLCalls ¶
func (fake *DefaultACLProvider) CheckACLCalls(stub func(string, string, interface{}) error)
func (*DefaultACLProvider) CheckACLReturns ¶
func (fake *DefaultACLProvider) CheckACLReturns(result1 error)
func (*DefaultACLProvider) CheckACLReturnsOnCall ¶
func (fake *DefaultACLProvider) CheckACLReturnsOnCall(i int, result1 error)
func (*DefaultACLProvider) Invocations ¶
func (fake *DefaultACLProvider) Invocations() map[string][][]interface{}
func (*DefaultACLProvider) IsPtypePolicy ¶
func (fake *DefaultACLProvider) IsPtypePolicy(arg1 string) bool
func (*DefaultACLProvider) IsPtypePolicyArgsForCall ¶
func (fake *DefaultACLProvider) IsPtypePolicyArgsForCall(i int) string
func (*DefaultACLProvider) IsPtypePolicyCallCount ¶
func (fake *DefaultACLProvider) IsPtypePolicyCallCount() int
func (*DefaultACLProvider) IsPtypePolicyCalls ¶
func (fake *DefaultACLProvider) IsPtypePolicyCalls(stub func(string) bool)
func (*DefaultACLProvider) IsPtypePolicyReturns ¶
func (fake *DefaultACLProvider) IsPtypePolicyReturns(result1 bool)
func (*DefaultACLProvider) IsPtypePolicyReturnsOnCall ¶
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 ¶
type SignerSerializer struct { SerializeStub func() ([]byte, error) SignStub func([]byte) ([]byte, error) // contains filtered or unexported fields }
func (*SignerSerializer) Invocations ¶
func (fake *SignerSerializer) Invocations() map[string][][]interface{}
func (*SignerSerializer) Serialize ¶
func (fake *SignerSerializer) Serialize() ([]byte, error)
func (*SignerSerializer) SerializeCallCount ¶
func (fake *SignerSerializer) SerializeCallCount() int
func (*SignerSerializer) SerializeCalls ¶
func (fake *SignerSerializer) SerializeCalls(stub func() ([]byte, error))
func (*SignerSerializer) SerializeReturns ¶
func (fake *SignerSerializer) SerializeReturns(result1 []byte, result2 error)
func (*SignerSerializer) SerializeReturnsOnCall ¶
func (fake *SignerSerializer) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
func (*SignerSerializer) SignArgsForCall ¶
func (fake *SignerSerializer) SignArgsForCall(i int) []byte
func (*SignerSerializer) SignCallCount ¶
func (fake *SignerSerializer) SignCallCount() int
func (*SignerSerializer) SignCalls ¶
func (fake *SignerSerializer) SignCalls(stub func([]byte) ([]byte, error))
func (*SignerSerializer) SignReturns ¶
func (fake *SignerSerializer) SignReturns(result1 []byte, result2 error)
func (*SignerSerializer) SignReturnsOnCall ¶
func (fake *SignerSerializer) SignReturnsOnCall(i int, result1 []byte, result2 error)
Click to show internal directories.
Click to hide internal directories.