Documentation ¶
Index ¶
Constants ¶
View Source
const DiskSuffix = "disk"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // DiscoveryResources discovery disks and volumes DiscoveryResources() // ListDisks list all registered disks ListDisks() []types.Disk ListDisksByType(devType types.DevType) []types.Disk GetDiskByPath(devPath string) *types.Disk GetVolumeByName(name string) *types.Volume // ListVolumes list all registered volumes ListVolumes() []types.Volume // ListVolumesByType list all registered volumes ListVolumesByType(devType types.DevType) []types.Volume DiskExist(devPath string) bool DiskSymbolLinkExist(symlink string) bool }
Click to show internal directories.
Click to hide internal directories.