Documentation ¶
Index ¶
- func BuildRaid(driver raid.IRaidDriver, confs []*api.BaremetalDiskConfig, adapterIdx int) error
- func GetBlockDeviceLogicalVolume(drv raid.IRaidDriver, blockDev string) (*raid.RaidLogicalVolume, error)
- func GetDriver(name string, term raid.IExecTerm) raid.IRaidDriver
- func GetDriverByKernelModule(module string, term raid.IExecTerm) (raid.IRaidDriver, error)
- func GetDriverWithInit(name string, term raid.IExecTerm) (raid.IRaidDriver, error)
- func GetDrivers(term raid.IExecTerm) []raid.IRaidDriver
- func GetFirstLogicalVolume(drv raid.IRaidDriver, adapterIdx int) (*raid.RaidLogicalVolume, error)
- func GetLocalDriver(name string) raid.IRaidDriver
- func PostBuildRaid(driver raid.IRaidDriver, adapterIdx int) error
- type Executor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildRaid ¶
func BuildRaid(driver raid.IRaidDriver, confs []*api.BaremetalDiskConfig, adapterIdx int) error
func GetBlockDeviceLogicalVolume ¶
func GetBlockDeviceLogicalVolume(drv raid.IRaidDriver, blockDev string) (*raid.RaidLogicalVolume, error)
func GetDriverByKernelModule ¶
func GetDriverWithInit ¶
func GetDrivers ¶
func GetDrivers(term raid.IExecTerm) []raid.IRaidDriver
func GetFirstLogicalVolume ¶
func GetFirstLogicalVolume(drv raid.IRaidDriver, adapterIdx int) (*raid.RaidLogicalVolume, error)
func GetLocalDriver ¶
func GetLocalDriver(name string) raid.IRaidDriver
func PostBuildRaid ¶
func PostBuildRaid(driver raid.IRaidDriver, adapterIdx int) error
Types ¶
Click to show internal directories.
Click to hide internal directories.