diskmanager

package
v0.0.0-...-a0d7459 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2017 License: AGPL-3.0 Imports: 4 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 diskmanager worker's view of the state.

func NewState

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

NewState creates a new client-side DiskManager facade.

func (*State) SetMachineBlockDevices

func (st *State) SetMachineBlockDevices(devices []storage.BlockDevice) error

SetMachineBlockDevices sets the block devices attached to the machine identified by the authenticated machine tag.

Jump to

Keyboard shortcuts

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