Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client provides methods to export clustered failures to BigQuery via the BigQuery Write API.
func NewClient ¶
NewClient creates a new client for exporting clustered failures via the BigQuery Write API.
type FakeClient ¶
type FakeClient struct {
Insertions []*bqp.ClusteredFailureRow
}
FakeClient represents a fake implementation of the clustered failures exporter, for testing.
func NewFakeClient ¶
func NewFakeClient() *FakeClient
NewFakeClient creates a new FakeClient for exporting clustered failures.
func (*FakeClient) Insert ¶
func (fc *FakeClient) Insert(ctx context.Context, rows []*bqp.ClusteredFailureRow) error
Insert inserts the given rows in BigQuery.
Click to show internal directories.
Click to hide internal directories.