datastore

package
v5.0.1-rc2+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2020 License: Apache-2.0 Imports: 10 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 Datastore service.

Types

type DatastoreBroker

type DatastoreBroker struct {
	base.BrokerBase
}

DatastoreBroker is the service-broker back-end for creating and binding Datastore instances.

func (*DatastoreBroker) Deprovision

Deprovision is a no-op call because only service accounts need to be bound/unbound for Datastore.

func (*DatastoreBroker) Provision

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

Provision stores the namespace for future reference.

type InstanceInformation

type InstanceInformation struct {
	Namespace string `json:"namespace,omitempty"`
}

InstanceInformation holds the details needed to bind a service to a DatastoreBroker.

Jump to

Keyboard shortcuts

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