diskformatter

package
v0.0.0-...-f19ae85 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2015 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

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

State provides access to a diskformatter worker's view of the state.

func NewState

func NewState(caller base.APICaller, authTag names.UnitTag) *State

NewState creates a new client-side DiskFormatter facade.

func (*State) BlockDeviceStorageInstances

func (st *State) BlockDeviceStorageInstances(tags []names.DiskTag) (params.StorageInstanceResults, error)

BlockDeviceStorageInstances returns the details of storage instance that each named block device is assigned to.

func (*State) BlockDevices

func (st *State) BlockDevices(tags []names.DiskTag) (params.BlockDeviceResults, error)

BlockDevices returns details of attached block devices with the specified tags.

func (*State) WatchBlockDevices

func (st *State) WatchBlockDevices() (watcher.StringsWatcher, error)

WatchBlockDevices watches the block devices attached to the machine that hosts the authenticated unit agent.

Jump to

Keyboard shortcuts

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