image

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 Image

type Image struct {
	ID     string
	Name   string
	Status string
}

type OpenStackImageService

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

func NewOpenStackImageService

func NewOpenStackImageService(
	computeService *gophercloud.ServiceClient,
	uuidGen boshuuid.Generator,
	logger boshlog.Logger,
) OpenStackImageService

func (OpenStackImageService) Create

func (i OpenStackImageService) Create(imagePath string, description string) (string, error)

func (OpenStackImageService) Delete

func (i OpenStackImageService) Delete(id string) error

func (OpenStackImageService) Find

func (i OpenStackImageService) Find(id string) (Image, bool, error)

type Service

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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