Documentation ¶
Overview ¶
Package discover to discover unused devices.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // AppName is the name of the pod AppName = "rook-discover" // NodeAttr is the attribute of that node NodeAttr = "rook.io/node" // LocalDiskCMData is the data name of the config map storing devices LocalDiskCMData = "devices" // LocalDiskCMName is name of the config map storing devices LocalDiskCMName = "local-device-%s" )
Functions ¶
func DeviceListsEqual ¶ added in v1.3.9
DeviceListsEqual checks whether 2 lists are equal or not
Types ¶
type CephVolumeInventory ¶ added in v1.3.9
type CephVolumeInventory struct { Path string `json:"path"` Available bool `json:"available"` RejectedReasons json.RawMessage `json:"rejected_reasons"` SysAPI json.RawMessage `json:"sys_api"` LVS json.RawMessage `json:"lvs"` }
CephVolumeInventory is the Go struct representation of the json output
Click to show internal directories.
Click to hide internal directories.