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) FetchLastNoAckMilestone(arg0 context.Context) (string, error)
- func (m *MockIHeimdallClient) FetchMilestone(arg0 context.Context) (*milestone.Milestone, error)
- func (m *MockIHeimdallClient) FetchMilestoneCount(arg0 context.Context) (int64, error)
- func (m *MockIHeimdallClient) FetchMilestoneID(arg0 context.Context, arg1 string) error
- func (m *MockIHeimdallClient) FetchNoAckMilestone(arg0 context.Context, arg1 string) 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) FetchLastNoAckMilestone(arg0 interface{}) *gomock.Call
- func (mr *MockIHeimdallClientMockRecorder) FetchMilestone(arg0 interface{}) *gomock.Call
- func (mr *MockIHeimdallClientMockRecorder) FetchMilestoneCount(arg0 interface{}) *gomock.Call
- func (mr *MockIHeimdallClientMockRecorder) FetchMilestoneID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockIHeimdallClientMockRecorder) FetchNoAckMilestone(arg0, arg1 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) FetchLastNoAckMilestone ¶
func (m *MockIHeimdallClient) FetchLastNoAckMilestone(arg0 context.Context) (string, error)
FetchLastNoAckMilestone mocks base method.
func (*MockIHeimdallClient) FetchMilestone ¶
FetchMilestone mocks base method.
func (*MockIHeimdallClient) FetchMilestoneCount ¶
func (m *MockIHeimdallClient) FetchMilestoneCount(arg0 context.Context) (int64, error)
FetchMilestoneCount mocks base method.
func (*MockIHeimdallClient) FetchMilestoneID ¶
func (m *MockIHeimdallClient) FetchMilestoneID(arg0 context.Context, arg1 string) error
FetchMilestoneID mocks base method.
func (*MockIHeimdallClient) FetchNoAckMilestone ¶
func (m *MockIHeimdallClient) FetchNoAckMilestone(arg0 context.Context, arg1 string) error
FetchNoAckMilestone 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) FetchLastNoAckMilestone ¶
func (mr *MockIHeimdallClientMockRecorder) FetchLastNoAckMilestone(arg0 interface{}) *gomock.Call
FetchLastNoAckMilestone indicates an expected call of FetchLastNoAckMilestone.
func (*MockIHeimdallClientMockRecorder) FetchMilestone ¶
func (mr *MockIHeimdallClientMockRecorder) FetchMilestone(arg0 interface{}) *gomock.Call
FetchMilestone indicates an expected call of FetchMilestone.
func (*MockIHeimdallClientMockRecorder) FetchMilestoneCount ¶
func (mr *MockIHeimdallClientMockRecorder) FetchMilestoneCount(arg0 interface{}) *gomock.Call
FetchMilestoneCount indicates an expected call of FetchMilestoneCount.
func (*MockIHeimdallClientMockRecorder) FetchMilestoneID ¶
func (mr *MockIHeimdallClientMockRecorder) FetchMilestoneID(arg0, arg1 interface{}) *gomock.Call
FetchMilestoneID indicates an expected call of FetchMilestoneID.
func (*MockIHeimdallClientMockRecorder) FetchNoAckMilestone ¶
func (mr *MockIHeimdallClientMockRecorder) FetchNoAckMilestone(arg0, arg1 interface{}) *gomock.Call
FetchNoAckMilestone indicates an expected call of FetchNoAckMilestone.
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.