diskmanager

package
Version: v0.0.0-...-9a03d5f Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: AGPL-3.0 Imports: 4 Imported by: 5

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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL