Documentation
¶
Index ¶
Constants ¶
View Source
const ( IDEController = "ide" SCSIController = "scsi" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PortDevice ¶
type PortDevice struct {
// contains filtered or unexported fields
}
func NewPortDevice ¶
func (PortDevice) Attach ¶
func (d PortDevice) Attach(path string) error
func (PortDevice) Controller ¶
func (d PortDevice) Controller() string
func (PortDevice) Detach ¶
func (d PortDevice) Detach() error
func (PortDevice) Device ¶
func (d PortDevice) Device() string
func (PortDevice) Hint ¶
func (d PortDevice) Hint() apiv1.DiskHint
func (PortDevice) Port ¶
func (d PortDevice) Port() string
type PortDevices ¶
type PortDevices struct {
// contains filtered or unexported fields
}
func NewPortDevices ¶
func NewPortDevices(vmCID apiv1.VMCID, opts PortDevicesOpts, driver driver.Driver, logger boshlog.Logger) PortDevices
func (PortDevices) CDROM ¶
func (d PortDevices) CDROM() (CDROM, error)
func (PortDevices) Find ¶
func (d PortDevices) Find(controller, port, device string) (PortDevice, error)
func (PortDevices) FindAvailable ¶
func (d PortDevices) FindAvailable() (PortDevice, error)
type PortDevicesOpts ¶
type PortDevicesOpts struct {
Controller string
}
Click to show internal directories.
Click to hide internal directories.