snapshot

package
v0.0.0-...-5b51137 Latest Latest
Warning

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

Go to latest
Published: May 7, 2016 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GoogleSnapshotService

type GoogleSnapshotService struct {
	// contains filtered or unexported fields
}

func NewGoogleSnapshotService

func NewGoogleSnapshotService(
	project string,
	computeService *compute.Service,
	operationService operation.Service,
	uuidGen boshuuid.Generator,
	logger boshlog.Logger,
) GoogleSnapshotService

func (GoogleSnapshotService) Create

func (s GoogleSnapshotService) Create(diskID string, description string, zone string) (string, error)

func (GoogleSnapshotService) Delete

func (s GoogleSnapshotService) Delete(id string) error

func (GoogleSnapshotService) Find

type Service

type Service interface {
	Create(diskID string, description string, zone string) (string, error)
	Delete(id string) error
	Find(id string) (Snapshot, bool, error)
}

type Snapshot

type Snapshot struct {
	Name     string
	SelfLink string
	Status   string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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