juju: github.com/wallyworld/juju/api/diskmanager Index | Files

package diskmanager

import "github.com/wallyworld/juju/api/diskmanager"


Package Files


type State Uses

type State struct {
    // contains filtered or unexported fields

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

func NewState Uses

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

NewState creates a new client-side DiskManager facade.

func (*State) SetMachineBlockDevices Uses

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

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

Package diskmanager imports 4 packages (graph). Updated 2020-05-08. Refresh now. Tools for package owners.