Documentation ¶
Overview ¶
Package mock_private is a generated GoMock package.
Index ¶
- type MockIdentifiable
- type MockIdentifiableMockRecorder
- type MockPrivateTransactionManager
- func (m *MockPrivateTransactionManager) DecryptPayload(arg0 common.DecryptRequest) ([]byte, *engine.ExtraMetadata, error)
- func (m *MockPrivateTransactionManager) EXPECT() *MockPrivateTransactionManagerMockRecorder
- func (m *MockPrivateTransactionManager) EncryptPayload(arg0 []byte, arg1 string, arg2 []string, arg3 *engine.ExtraMetadata) ([]byte, error)
- func (m *MockPrivateTransactionManager) GetMandatory(arg0 common.EncryptedPayloadHash) ([]string, error)
- func (m *MockPrivateTransactionManager) GetParticipants(arg0 common.EncryptedPayloadHash) ([]string, error)
- func (m *MockPrivateTransactionManager) Groups() ([]engine.PrivacyGroup, error)
- func (m *MockPrivateTransactionManager) HasFeature(arg0 engine.PrivateTransactionManagerFeature) bool
- func (m *MockPrivateTransactionManager) IsSender(arg0 common.EncryptedPayloadHash) (bool, error)
- func (m *MockPrivateTransactionManager) Name() string
- func (m *MockPrivateTransactionManager) Receive(arg0 common.EncryptedPayloadHash) (string, []string, []byte, *engine.ExtraMetadata, error)
- func (m *MockPrivateTransactionManager) ReceiveRaw(arg0 common.EncryptedPayloadHash) ([]byte, string, *engine.ExtraMetadata, error)
- func (m *MockPrivateTransactionManager) Send(arg0 []byte, arg1 string, arg2 []string, arg3 *engine.ExtraMetadata) (string, []string, common.EncryptedPayloadHash, error)
- func (m *MockPrivateTransactionManager) SendSignedTx(arg0 common.EncryptedPayloadHash, arg1 []string, arg2 *engine.ExtraMetadata) (string, []string, []byte, error)
- func (m *MockPrivateTransactionManager) StoreRaw(arg0 []byte, arg1 string) (common.EncryptedPayloadHash, error)
- type MockPrivateTransactionManagerMockRecorder
- func (mr *MockPrivateTransactionManagerMockRecorder) DecryptPayload(arg0 interface{}) *gomock.Call
- func (mr *MockPrivateTransactionManagerMockRecorder) EncryptPayload(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockPrivateTransactionManagerMockRecorder) GetMandatory(arg0 interface{}) *gomock.Call
- func (mr *MockPrivateTransactionManagerMockRecorder) GetParticipants(arg0 interface{}) *gomock.Call
- func (mr *MockPrivateTransactionManagerMockRecorder) Groups() *gomock.Call
- func (mr *MockPrivateTransactionManagerMockRecorder) HasFeature(arg0 interface{}) *gomock.Call
- func (mr *MockPrivateTransactionManagerMockRecorder) IsSender(arg0 interface{}) *gomock.Call
- func (mr *MockPrivateTransactionManagerMockRecorder) Name() *gomock.Call
- func (mr *MockPrivateTransactionManagerMockRecorder) Receive(arg0 interface{}) *gomock.Call
- func (mr *MockPrivateTransactionManagerMockRecorder) ReceiveRaw(arg0 interface{}) *gomock.Call
- func (mr *MockPrivateTransactionManagerMockRecorder) Send(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockPrivateTransactionManagerMockRecorder) SendSignedTx(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockPrivateTransactionManagerMockRecorder) StoreRaw(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIdentifiable ¶
type MockIdentifiable struct {
// contains filtered or unexported fields
}
MockIdentifiable is a mock of Identifiable interface.
func NewMockIdentifiable ¶
func NewMockIdentifiable(ctrl *gomock.Controller) *MockIdentifiable
NewMockIdentifiable creates a new mock instance.
func (*MockIdentifiable) EXPECT ¶
func (m *MockIdentifiable) EXPECT() *MockIdentifiableMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIdentifiable) HasFeature ¶
func (m *MockIdentifiable) HasFeature(arg0 engine.PrivateTransactionManagerFeature) bool
HasFeature mocks base method.
type MockIdentifiableMockRecorder ¶
type MockIdentifiableMockRecorder struct {
// contains filtered or unexported fields
}
MockIdentifiableMockRecorder is the mock recorder for MockIdentifiable.
func (*MockIdentifiableMockRecorder) HasFeature ¶
func (mr *MockIdentifiableMockRecorder) HasFeature(arg0 interface{}) *gomock.Call
HasFeature indicates an expected call of HasFeature.
func (*MockIdentifiableMockRecorder) Name ¶
func (mr *MockIdentifiableMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
type MockPrivateTransactionManager ¶
type MockPrivateTransactionManager struct {
// contains filtered or unexported fields
}
MockPrivateTransactionManager is a mock of PrivateTransactionManager interface.
func NewMockPrivateTransactionManager ¶
func NewMockPrivateTransactionManager(ctrl *gomock.Controller) *MockPrivateTransactionManager
NewMockPrivateTransactionManager creates a new mock instance.
func (*MockPrivateTransactionManager) DecryptPayload ¶
func (m *MockPrivateTransactionManager) DecryptPayload(arg0 common.DecryptRequest) ([]byte, *engine.ExtraMetadata, error)
DecryptPayload mocks base method.
func (*MockPrivateTransactionManager) EXPECT ¶
func (m *MockPrivateTransactionManager) EXPECT() *MockPrivateTransactionManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockPrivateTransactionManager) EncryptPayload ¶
func (m *MockPrivateTransactionManager) EncryptPayload(arg0 []byte, arg1 string, arg2 []string, arg3 *engine.ExtraMetadata) ([]byte, error)
EncryptPayload mocks base method.
func (*MockPrivateTransactionManager) GetMandatory ¶
func (m *MockPrivateTransactionManager) GetMandatory(arg0 common.EncryptedPayloadHash) ([]string, error)
GetMandatory mocks base method.
func (*MockPrivateTransactionManager) GetParticipants ¶
func (m *MockPrivateTransactionManager) GetParticipants(arg0 common.EncryptedPayloadHash) ([]string, error)
GetParticipants mocks base method.
func (*MockPrivateTransactionManager) Groups ¶
func (m *MockPrivateTransactionManager) Groups() ([]engine.PrivacyGroup, error)
Groups mocks base method.
func (*MockPrivateTransactionManager) HasFeature ¶
func (m *MockPrivateTransactionManager) HasFeature(arg0 engine.PrivateTransactionManagerFeature) bool
HasFeature mocks base method.
func (*MockPrivateTransactionManager) IsSender ¶
func (m *MockPrivateTransactionManager) IsSender(arg0 common.EncryptedPayloadHash) (bool, error)
IsSender mocks base method.
func (*MockPrivateTransactionManager) Name ¶
func (m *MockPrivateTransactionManager) Name() string
Name mocks base method.
func (*MockPrivateTransactionManager) Receive ¶
func (m *MockPrivateTransactionManager) Receive(arg0 common.EncryptedPayloadHash) (string, []string, []byte, *engine.ExtraMetadata, error)
Receive mocks base method.
func (*MockPrivateTransactionManager) ReceiveRaw ¶
func (m *MockPrivateTransactionManager) ReceiveRaw(arg0 common.EncryptedPayloadHash) ([]byte, string, *engine.ExtraMetadata, error)
ReceiveRaw mocks base method.
func (*MockPrivateTransactionManager) Send ¶
func (m *MockPrivateTransactionManager) Send(arg0 []byte, arg1 string, arg2 []string, arg3 *engine.ExtraMetadata) (string, []string, common.EncryptedPayloadHash, error)
Send mocks base method.
func (*MockPrivateTransactionManager) SendSignedTx ¶
func (m *MockPrivateTransactionManager) SendSignedTx(arg0 common.EncryptedPayloadHash, arg1 []string, arg2 *engine.ExtraMetadata) (string, []string, []byte, error)
SendSignedTx mocks base method.
func (*MockPrivateTransactionManager) StoreRaw ¶
func (m *MockPrivateTransactionManager) StoreRaw(arg0 []byte, arg1 string) (common.EncryptedPayloadHash, error)
StoreRaw mocks base method.
type MockPrivateTransactionManagerMockRecorder ¶
type MockPrivateTransactionManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockPrivateTransactionManagerMockRecorder is the mock recorder for MockPrivateTransactionManager.
func (*MockPrivateTransactionManagerMockRecorder) DecryptPayload ¶
func (mr *MockPrivateTransactionManagerMockRecorder) DecryptPayload(arg0 interface{}) *gomock.Call
DecryptPayload indicates an expected call of DecryptPayload.
func (*MockPrivateTransactionManagerMockRecorder) EncryptPayload ¶
func (mr *MockPrivateTransactionManagerMockRecorder) EncryptPayload(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
EncryptPayload indicates an expected call of EncryptPayload.
func (*MockPrivateTransactionManagerMockRecorder) GetMandatory ¶
func (mr *MockPrivateTransactionManagerMockRecorder) GetMandatory(arg0 interface{}) *gomock.Call
GetMandatory indicates an expected call of GetMandatory.
func (*MockPrivateTransactionManagerMockRecorder) GetParticipants ¶
func (mr *MockPrivateTransactionManagerMockRecorder) GetParticipants(arg0 interface{}) *gomock.Call
GetParticipants indicates an expected call of GetParticipants.
func (*MockPrivateTransactionManagerMockRecorder) Groups ¶
func (mr *MockPrivateTransactionManagerMockRecorder) Groups() *gomock.Call
Groups indicates an expected call of Groups.
func (*MockPrivateTransactionManagerMockRecorder) HasFeature ¶
func (mr *MockPrivateTransactionManagerMockRecorder) HasFeature(arg0 interface{}) *gomock.Call
HasFeature indicates an expected call of HasFeature.
func (*MockPrivateTransactionManagerMockRecorder) IsSender ¶
func (mr *MockPrivateTransactionManagerMockRecorder) IsSender(arg0 interface{}) *gomock.Call
IsSender indicates an expected call of IsSender.
func (*MockPrivateTransactionManagerMockRecorder) Name ¶
func (mr *MockPrivateTransactionManagerMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.
func (*MockPrivateTransactionManagerMockRecorder) Receive ¶
func (mr *MockPrivateTransactionManagerMockRecorder) Receive(arg0 interface{}) *gomock.Call
Receive indicates an expected call of Receive.
func (*MockPrivateTransactionManagerMockRecorder) ReceiveRaw ¶
func (mr *MockPrivateTransactionManagerMockRecorder) ReceiveRaw(arg0 interface{}) *gomock.Call
ReceiveRaw indicates an expected call of ReceiveRaw.
func (*MockPrivateTransactionManagerMockRecorder) Send ¶
func (mr *MockPrivateTransactionManagerMockRecorder) Send(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockPrivateTransactionManagerMockRecorder) SendSignedTx ¶
func (mr *MockPrivateTransactionManagerMockRecorder) SendSignedTx(arg0, arg1, arg2 interface{}) *gomock.Call
SendSignedTx indicates an expected call of SendSignedTx.
func (*MockPrivateTransactionManagerMockRecorder) StoreRaw ¶
func (mr *MockPrivateTransactionManagerMockRecorder) StoreRaw(arg0, arg1 interface{}) *gomock.Call
StoreRaw indicates an expected call of StoreRaw.