Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockIHeimdallClient
- func (m *MockIHeimdallClient) Close()
- func (m *MockIHeimdallClient) EXPECT() *MockIHeimdallClientMockRecorder
- func (m *MockIHeimdallClient) FetchCheckpoint(arg0 context.Context, arg1 int64) (*checkpoint.Checkpoint, error)
- func (m *MockIHeimdallClient) FetchCheckpointCount(arg0 context.Context) (int64, error)
- func (m *MockIHeimdallClient) Span(arg0 context.Context, arg1 uint64) (*span.HeimdallSpan, error)
- func (m *MockIHeimdallClient) StateSyncEvents(arg0 context.Context, arg1 uint64, arg2 int64) ([]*clerk.EventRecordWithTime, error)
- type MockIHeimdallClientMockRecorder
- func (mr *MockIHeimdallClientMockRecorder) Close() *gomock.Call
- func (mr *MockIHeimdallClientMockRecorder) FetchCheckpoint(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIHeimdallClientMockRecorder) FetchCheckpointCount(arg0 interface{}) *gomock.Call
- func (mr *MockIHeimdallClientMockRecorder) Span(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIHeimdallClientMockRecorder) StateSyncEvents(arg0, arg1, arg2 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockIHeimdallClient ¶
type MockIHeimdallClient struct {
// contains filtered or unexported fields
}
MockIHeimdallClient is a mock of IHeimdallClient interface.
func NewMockIHeimdallClient ¶
func NewMockIHeimdallClient(ctrl *gomock.Controller) *MockIHeimdallClient
NewMockIHeimdallClient creates a new mock instance.
func (*MockIHeimdallClient) EXPECT ¶
func (m *MockIHeimdallClient) EXPECT() *MockIHeimdallClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockIHeimdallClient) FetchCheckpoint ¶
func (m *MockIHeimdallClient) FetchCheckpoint(arg0 context.Context, arg1 int64) (*checkpoint.Checkpoint, error)
FetchCheckpoint mocks base method.
func (*MockIHeimdallClient) FetchCheckpointCount ¶
func (m *MockIHeimdallClient) FetchCheckpointCount(arg0 context.Context) (int64, error)
FetchCheckpointCount mocks base method.
func (*MockIHeimdallClient) Span ¶
func (m *MockIHeimdallClient) Span(arg0 context.Context, arg1 uint64) (*span.HeimdallSpan, error)
Span mocks base method.
func (*MockIHeimdallClient) StateSyncEvents ¶
func (m *MockIHeimdallClient) StateSyncEvents(arg0 context.Context, arg1 uint64, arg2 int64) ([]*clerk.EventRecordWithTime, error)
StateSyncEvents mocks base method.
type MockIHeimdallClientMockRecorder ¶
type MockIHeimdallClientMockRecorder struct {
// contains filtered or unexported fields
}
MockIHeimdallClientMockRecorder is the mock recorder for MockIHeimdallClient.
func (*MockIHeimdallClientMockRecorder) Close ¶
func (mr *MockIHeimdallClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockIHeimdallClientMockRecorder) FetchCheckpoint ¶
func (mr *MockIHeimdallClientMockRecorder) FetchCheckpoint(arg0, arg1 interface{}) *gomock.Call
FetchCheckpoint indicates an expected call of FetchCheckpoint.
func (*MockIHeimdallClientMockRecorder) FetchCheckpointCount ¶
func (mr *MockIHeimdallClientMockRecorder) FetchCheckpointCount(arg0 interface{}) *gomock.Call
FetchCheckpointCount indicates an expected call of FetchCheckpointCount.
func (*MockIHeimdallClientMockRecorder) Span ¶
func (mr *MockIHeimdallClientMockRecorder) Span(arg0, arg1 interface{}) *gomock.Call
Span indicates an expected call of Span.
func (*MockIHeimdallClientMockRecorder) StateSyncEvents ¶
func (mr *MockIHeimdallClientMockRecorder) StateSyncEvents(arg0, arg1, arg2 interface{}) *gomock.Call
StateSyncEvents indicates an expected call of StateSyncEvents.