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