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

package diskmanager

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

Index

Package Files

diskmanager.go

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) and is imported by 35 packages. Updated 2019-08-23. Refresh now. Tools for package owners.