cadvisor: github.com/google/cadvisor/cmd/internal/storage/bigquery/client Index | Files | Directories

package client

import "github.com/google/cadvisor/cmd/internal/storage/bigquery/client"

Index

Package Files

client.go

type Client Uses

type Client struct {
    // contains filtered or unexported fields
}

func NewClient Uses

func NewClient() (*Client, error)

Creates a new client instance with an authenticated connection to bigquery.

func (*Client) Close Uses

func (c *Client) Close() error

func (*Client) CreateDataset Uses

func (c *Client) CreateDataset(datasetId string) error

func (*Client) CreateTable Uses

func (c *Client) CreateTable(tableId string, schema *bigquery.TableSchema) error

Create a table with provided table ID and schema. Schema is currently not updated if the table already exists.

func (*Client) InsertRow Uses

func (c *Client) InsertRow(rowData map[string]interface{}) error

Add a row to the connected table.

func (*Client) PrintDatasets Uses

func (c *Client) PrintDatasets() error

Directories

PathSynopsis
example

Package client imports 7 packages (graph) and is imported by 2 packages. Updated 2020-03-25. Refresh now. Tools for package owners.