Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NextDeviceInfo = &types.NextDeviceInfo{ Prefix: "xvd", Pattern: "[f-p]", Ignore: false, }
NextDeviceInfo is the NextDeviceInfo object for EBS.
EBS suggests to use /dev/sd[f-p] for Linux EC2 instances. Also on Linux EC2 instances, although the device path may show up as /dev/sd* on the EC2 side, it will appear locally as /dev/xvd*
Functions ¶
func BlockDeviceName ¶
BlockDeviceName returns the name of the provided EBS device.
func BlockDevices ¶
BlockDevices returns the EBS devices attached to the local host.
func InstanceID ¶
func InstanceID(ctx types.Context) (*types.InstanceID, error)
InstanceID returns the instance ID for the local host.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.