storage

package
v3.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2017 License: Apache-2.0 Imports: 11 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 {
	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

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)

Jump to

Keyboard shortcuts

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