Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DiskManagerAPI

type DiskManagerAPI struct {

	// contains filtered or unexported fields

}

DiskManagerAPI provides access to the DiskManager API facade.

func NewDiskManagerAPI

func NewDiskManagerAPI(
	st *state.State,
	resources facade.Resources,
	authorizer facade.Authorizer,
) (*DiskManagerAPI, error)

NewDiskManagerAPI creates a new server-side DiskManager API facade.

func (*DiskManagerAPI) SetMachineBlockDevices

func (d *DiskManagerAPI) SetMachineBlockDevices(args params.SetMachineBlockDevices) (params.ErrorResults, error)