bigquery

package
v5.1.0+incompatible Latest Latest
Warning

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

Go to latest
Published: May 27, 2020 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServiceDefinition

func ServiceDefinition() *broker.ServiceDefinition

ServiceDefinition creates a new ServiceDefinition object for the BigQuery service.

Types

type BigQueryBroker

type BigQueryBroker struct {
	base.BrokerBase
}

BigQueryBroker is the service-broker back-end for creating and binding BigQuery instances.

func (*BigQueryBroker) Deprovision

Deprovision deletes the dataset associated with the given instance. Note: before deprovisioning you must delete all the tables in the dataset.

func (*BigQueryBroker) Provision

func (b *BigQueryBroker) Provision(ctx context.Context, provisionContext *varcontext.VarContext) (models.ServiceInstanceDetails, error)

Provision creates a new BigQuery dataset from the settings in the user-provided details and service plan.

type InstanceInformation

type InstanceInformation struct {
	DatasetId string `json:"dataset_id"`
}

InstanceInformation holds the details needed to bind a service account to a BigQuery instance after it has been provisioned.

Jump to

Keyboard shortcuts

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