Documentation ¶
Index ¶
- func MapPlan(details map[string]string) map[string]string
- type InstanceInformation
- type SpannerBroker
- func (s *SpannerBroker) Async() bool
- func (s *SpannerBroker) Deprovision(instanceID string, details models.DeprovisionDetails) error
- func (s *SpannerBroker) PollInstance(instanceId string) (bool, error)
- func (s *SpannerBroker) Provision(instanceId string, details models.ProvisionDetails, plan models.PlanDetails) (models.ServiceInstanceDetails, error)
- type SpannerDynamicPlan
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type InstanceInformation ¶
type InstanceInformation struct {
InstanceId string `json:"instance_id"`
}
type SpannerBroker ¶
type SpannerBroker struct { Client *http.Client ProjectId string Logger lager.Logger AccountManager models.AccountManager broker_base.BrokerBase }
func (*SpannerBroker) Async ¶
func (s *SpannerBroker) Async() bool
Indicates that Spanner uses asynchronous provisioning
func (*SpannerBroker) Deprovision ¶
func (s *SpannerBroker) Deprovision(instanceID string, details models.DeprovisionDetails) error
deletes the instance associated with the given instanceID string
func (*SpannerBroker) PollInstance ¶
func (s *SpannerBroker) PollInstance(instanceId string) (bool, error)
gets the last operation for this instance and polls the status of it
func (*SpannerBroker) Provision ¶
func (s *SpannerBroker) Provision(instanceId string, details models.ProvisionDetails, plan models.PlanDetails) (models.ServiceInstanceDetails, error)
Creates a new Spanner Instance identified by the name provided in details.RawParameters.name and an optional region (defaults to regional-us-central1) and optional display_name
Click to show internal directories.
Click to hide internal directories.