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 ¶
func (b *BigQueryBroker) Deprovision(ctx context.Context, dataset models.ServiceInstanceDetails, details brokerapi.DeprovisionDetails) (*string, error)
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.
Click to show internal directories.
Click to hide internal directories.