Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TypeText can be used to output RAW text. TypeText Type = "text" // TypeJSON can be used to output a JSON formatted string. TypeJSON Type = "json" // FieldDeviceName can be used to return local block device name. FieldDeviceName Field = "device-name" // FieldDeviceNamespace can be used to return the nvme namespace number of the device. FieldDeviceNamespace Field = "device-namespace" // FieldDevicePartition can be used to return the nvme partition number of the device. FieldDevicePartition Field = "device-partition" // FieldDevicePath can be used to return local block device path. FieldDevicePath Field = "device-path" // FieldVolumeID can be used to return EBS volume-id. FieldVolumeID Field = "volume-id" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Fields ¶
type Fields []Field
func GetValidFields ¶ added in v0.2.1
func GetValidFields() Fields
func (Fields) StringSlice ¶ added in v0.2.1
Click to show internal directories.
Click to hide internal directories.