stemcell

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2014 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const VirtualDiskImageKind = "VirtualDiskImage"
View Source
const VirtualGuestDeviceTemplateGroupKind = "VirtualGuestDeviceTemplateGroup"

Variables

This section is empty.

Functions

This section is empty.

Types

type Finder

type Finder interface {
	Find(uuid string) (Stemcell, bool, error)
	FindById(id int) (Stemcell, bool, error)
}

type SoftLayerFinder

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

func NewSoftLayerFinder

func NewSoftLayerFinder(client sl.Client, logger boshlog.Logger) SoftLayerFinder

func (SoftLayerFinder) Find

func (f SoftLayerFinder) Find(uuid string) (Stemcell, bool, error)

func (SoftLayerFinder) FindById

func (f SoftLayerFinder) FindById(id int) (Stemcell, bool, error)

type SoftLayerStemcell

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

func NewSoftLayerStemcell

func NewSoftLayerStemcell(id int, uuid string, kind string, softLayerClient sl.Client, logger boshlog.Logger) SoftLayerStemcell

func (SoftLayerStemcell) Delete

func (s SoftLayerStemcell) Delete() error

func (SoftLayerStemcell) ID

func (s SoftLayerStemcell) ID() int

func (SoftLayerStemcell) Kind

func (s SoftLayerStemcell) Kind() string

func (SoftLayerStemcell) Uuid

func (s SoftLayerStemcell) Uuid() string

type Stemcell

type Stemcell interface {
	ID() int
	Uuid() string
	Kind() string

	Delete() error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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