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.
Click to show internal directories.
Click to hide internal directories.