Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/anyproto/any-sync/node/nodeclient (interfaces: NodeClient)
Generated by this command:
mockgen -destination mock_nodeclient/mock_nodeclient.go github.com/anyproto/any-sync/node/nodeclient NodeClient
Package mock_nodeclient is a generated GoMock package.
Index ¶
- type MockNodeClient
- func (m *MockNodeClient) AclAddRecord(arg0 context.Context, arg1 string, arg2 *consensusproto.RawRecord) (*consensusproto.RawRecordWithId, error)
- func (m *MockNodeClient) AclGetRecords(arg0 context.Context, arg1, arg2 string) ([]*consensusproto.RawRecordWithId, error)
- func (m *MockNodeClient) EXPECT() *MockNodeClientMockRecorder
- func (m *MockNodeClient) Init(arg0 *app.App) error
- func (m *MockNodeClient) Name() string
- type MockNodeClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockNodeClient ¶
type MockNodeClient struct {
// contains filtered or unexported fields
}
MockNodeClient is a mock of NodeClient interface.
func NewMockNodeClient ¶
func NewMockNodeClient(ctrl *gomock.Controller) *MockNodeClient
NewMockNodeClient creates a new mock instance.
func (*MockNodeClient) AclAddRecord ¶
func (m *MockNodeClient) AclAddRecord(arg0 context.Context, arg1 string, arg2 *consensusproto.RawRecord) (*consensusproto.RawRecordWithId, error)
AclAddRecord mocks base method.
func (*MockNodeClient) AclGetRecords ¶
func (m *MockNodeClient) AclGetRecords(arg0 context.Context, arg1, arg2 string) ([]*consensusproto.RawRecordWithId, error)
AclGetRecords mocks base method.
func (*MockNodeClient) EXPECT ¶
func (m *MockNodeClient) EXPECT() *MockNodeClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockNodeClientMockRecorder ¶
type MockNodeClientMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeClientMockRecorder is the mock recorder for MockNodeClient.
func (*MockNodeClientMockRecorder) AclAddRecord ¶
func (mr *MockNodeClientMockRecorder) AclAddRecord(arg0, arg1, arg2 any) *gomock.Call
AclAddRecord indicates an expected call of AclAddRecord.
func (*MockNodeClientMockRecorder) AclGetRecords ¶
func (mr *MockNodeClientMockRecorder) AclGetRecords(arg0, arg1, arg2 any) *gomock.Call
AclGetRecords indicates an expected call of AclGetRecords.
func (*MockNodeClientMockRecorder) Init ¶
func (mr *MockNodeClientMockRecorder) Init(arg0 any) *gomock.Call
Init indicates an expected call of Init.
func (*MockNodeClientMockRecorder) Name ¶
func (mr *MockNodeClientMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name.