spanner

package
v4.2.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstanceInformation

type InstanceInformation struct {
	InstanceId string `json:"instance_id"`
}

InstanceInformation holds the details needed to connect to a Spanner instance after it has been provisioned.

type SpannerBroker

type SpannerBroker struct {
	broker_base.BrokerBase
}

SpannerBroker is the service-broker back-end for creating Spanner databases and accounts.

func (*SpannerBroker) Deprovision

Deprovision deletes the Spanner instance associated with the given instance.

func (*SpannerBroker) PollInstance

func (s *SpannerBroker) PollInstance(ctx context.Context, instance models.ServiceInstanceDetails) (bool, error)

PollInstance gets the last operation for this instance and polls its status.

func (*SpannerBroker) Provision

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

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

func (*SpannerBroker) ProvisionsAsync

func (s *SpannerBroker) ProvisionsAsync() bool

ProvisionsAsync indicates that Spanner uses asynchronous provisioning

Jump to

Keyboard shortcuts

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