Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inserter ¶
type Inserter interface { Insert(context.Context, ...bigquery.ValueSaver) error Close() CloseAndDrain(context.Context) }
Inserter implements an interface to interact with Bigquery. TODO: consider moving the interface to the consumer side.
type Options ¶
type Options struct { Target *result_flow.BigqueryConfig HTTPClient *http.Client InsertRPCMock func(context.Context, *bqapi.TableDataInsertAllRequest) (*bqapi.TableDataInsertAllResponse, error) }
Options presents the options for the interface to interact with Bigquery.
Click to show internal directories.
Click to hide internal directories.