snapshot

package
v0.0.0-...-eb548cc Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2015 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OpenStackSnapshotService

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

func NewOpenStackSnapshotService

func NewOpenStackSnapshotService(
	blockstorageService *gophercloud.ServiceClient,
	uuidGen boshuuid.Generator,
	logger boshlog.Logger,
) OpenStackSnapshotService

func (OpenStackSnapshotService) Create

func (s OpenStackSnapshotService) Create(volumeID string, description string) (string, error)

func (OpenStackSnapshotService) Delete

func (s OpenStackSnapshotService) Delete(id string) error

func (OpenStackSnapshotService) Find

type Service

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

type Snapshot

type Snapshot struct {
	ID     string
	Name   string
	Status string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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