Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InstanceInformation ¶
type InstanceInformation struct {
BucketName string `json:"bucket_name"`
}
type StorageBroker ¶
type StorageBroker struct { Client *http.Client ProjectId string Logger lager.Logger broker_base.BrokerBase }
func (*StorageBroker) Deprovision ¶
func (b *StorageBroker) Deprovision(instanceID string, details models.DeprovisionDetails) error
Deletes the bucket associated with the given instance id Note that all objects within the bucket must be deleted first
func (*StorageBroker) Provision ¶
func (b *StorageBroker) Provision(instanceId string, details models.ProvisionDetails, plan models.PlanDetails) (models.ServiceInstanceDetails, error)
creates a new bucket with the name given in provision details and optional location (defaults to "US", for acceptable location values see: https://cloud.google.com/storage/docs/bucket-locations)
Click to show internal directories.
Click to hide internal directories.