Documentation ¶
Overview ¶
Package mock_bigquery is a generated GoMock package.
Index ¶
- type MockBigQueryClient
- func (m *MockBigQueryClient) Close() error
- func (m *MockBigQueryClient) EXPECT() *MockBigQueryClientMockRecorder
- func (m *MockBigQueryClient) GetMostRecentBlockNumber(ctx context.Context) (int64, error)
- func (m *MockBigQueryClient) InsertBlock(block *model.Block, ctx context.Context) error
- func (m *MockBigQueryClient) InsertTransactions(transactions []*model.Transaction, ctx context.Context) error
- type MockBigQueryClientMockRecorder
- func (mr *MockBigQueryClientMockRecorder) Close() *gomock.Call
- func (mr *MockBigQueryClientMockRecorder) GetMostRecentBlockNumber(ctx interface{}) *gomock.Call
- func (mr *MockBigQueryClientMockRecorder) InsertBlock(block, ctx interface{}) *gomock.Call
- func (mr *MockBigQueryClientMockRecorder) InsertTransactions(transactions, ctx interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBigQueryClient ¶
type MockBigQueryClient struct {
// contains filtered or unexported fields
}
MockBigQueryClient is a mock of BigQueryClient interface.
func NewMockBigQueryClient ¶
func NewMockBigQueryClient(ctrl *gomock.Controller) *MockBigQueryClient
NewMockBigQueryClient creates a new mock instance.
func (*MockBigQueryClient) Close ¶
func (m *MockBigQueryClient) Close() error
Close mocks base method.
func (*MockBigQueryClient) EXPECT ¶
func (m *MockBigQueryClient) EXPECT() *MockBigQueryClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBigQueryClient) GetMostRecentBlockNumber ¶
func (m *MockBigQueryClient) GetMostRecentBlockNumber(ctx context.Context) (int64, error)
GetMostRecentBlockNumber mocks base method.
func (*MockBigQueryClient) InsertBlock ¶
InsertBlock mocks base method.
func (*MockBigQueryClient) InsertTransactions ¶
func (m *MockBigQueryClient) InsertTransactions(transactions []*model.Transaction, ctx context.Context) error
InsertTransactions mocks base method.
type MockBigQueryClientMockRecorder ¶
type MockBigQueryClientMockRecorder struct {
// contains filtered or unexported fields
}
MockBigQueryClientMockRecorder is the mock recorder for MockBigQueryClient.
func (*MockBigQueryClientMockRecorder) Close ¶
func (mr *MockBigQueryClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockBigQueryClientMockRecorder) GetMostRecentBlockNumber ¶
func (mr *MockBigQueryClientMockRecorder) GetMostRecentBlockNumber(ctx interface{}) *gomock.Call
GetMostRecentBlockNumber indicates an expected call of GetMostRecentBlockNumber.
func (*MockBigQueryClientMockRecorder) InsertBlock ¶
func (mr *MockBigQueryClientMockRecorder) InsertBlock(block, ctx interface{}) *gomock.Call
InsertBlock indicates an expected call of InsertBlock.
func (*MockBigQueryClientMockRecorder) InsertTransactions ¶
func (mr *MockBigQueryClientMockRecorder) InsertTransactions(transactions, ctx interface{}) *gomock.Call
InsertTransactions indicates an expected call of InsertTransactions.