Documentation ¶
Overview ¶
Package mock_nodeclient is a generated GoMock package.
Index ¶
- type MockNodeClient
- func (m *MockNodeClient) AclAddRecord(ctx context.Context, spaceId string, rec *consensusproto.RawRecord) (*consensusproto.RawRecordWithId, error)
- func (m *MockNodeClient) AclGetRecords(ctx context.Context, spaceId, aclHead string) ([]*consensusproto.RawRecordWithId, error)
- func (m *MockNodeClient) EXPECT() *MockNodeClientMockRecorder
- func (m *MockNodeClient) Init(a *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(ctx context.Context, spaceId string, rec *consensusproto.RawRecord) (*consensusproto.RawRecordWithId, error)
AclAddRecord mocks base method.
func (*MockNodeClient) AclGetRecords ¶
func (m *MockNodeClient) AclGetRecords(ctx context.Context, spaceId, aclHead 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(ctx, spaceId, rec any) *gomock.Call
AclAddRecord indicates an expected call of AclAddRecord.
func (*MockNodeClientMockRecorder) AclGetRecords ¶
func (mr *MockNodeClientMockRecorder) AclGetRecords(ctx, spaceId, aclHead any) *gomock.Call
AclGetRecords indicates an expected call of AclGetRecords.
func (*MockNodeClientMockRecorder) Init ¶
func (mr *MockNodeClientMockRecorder) Init(a 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.
Click to show internal directories.
Click to hide internal directories.