Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type DeviceManager ¶
type DeviceManager interface { // NewDevice retrieves the device if the device is already assigned. // Otherwise it creates a new device with next available device name // and mark it as unassigned device. NewDevice(instance *ec2.Instance, volumeID string) (device *Device, err error) // GetDevice returns the device already assigned to the volume. GetDevice(instance *ec2.Instance, volumeID string) (device *Device, err error) }
func NewDeviceManager ¶
func NewDeviceManager() DeviceManager
Click to show internal directories.
Click to hide internal directories.