mock_bigquery

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 19, 2021 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_bigquery is a generated GoMock package.

Index

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

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

func (m *MockBigQueryClient) InsertBlock(block *model.Block, ctx context.Context) error

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL