Documentation ¶
Index ¶
- func GetSpecString(dev *baremetal.BaremetalStorage) string
- func NewMpt2SASRaid(term raid.IExecTerm) raid.IRaidDriver
- type Mpt2SASRaid
- func (r *Mpt2SASRaid) CleanRaid() error
- func (r *Mpt2SASRaid) GetAdapters() []raid.IRaidAdapter
- func (r *Mpt2SASRaid) GetCommand(args ...string) string
- func (r *Mpt2SASRaid) GetName() string
- func (r *Mpt2SASRaid) ParsePhyDevs() error
- func (r *Mpt2SASRaid) PreBuildRaid(_ []*api.BaremetalDiskConfig, _ int) error
- type Mpt2SASRaidAdaptor
- func (adapter *Mpt2SASRaidAdaptor) BuildNoneRaid(devs []*baremetal.BaremetalStorage) error
- func (adapter *Mpt2SASRaidAdaptor) BuildRaid0(devs []*baremetal.BaremetalStorage, conf *api.BaremetalDiskConfig) error
- func (adapter *Mpt2SASRaidAdaptor) BuildRaid1(devs []*baremetal.BaremetalStorage, conf *api.BaremetalDiskConfig) error
- func (adapter *Mpt2SASRaidAdaptor) BuildRaid10(devs []*baremetal.BaremetalStorage, conf *api.BaremetalDiskConfig) error
- func (adapter *Mpt2SASRaidAdaptor) BuildRaid5(devs []*baremetal.BaremetalStorage, conf *api.BaremetalDiskConfig) error
- func (adapter *Mpt2SASRaidAdaptor) GetDevices() []*baremetal.BaremetalStorage
- func (adapter *Mpt2SASRaidAdaptor) GetIndex() int
- func (adapter *Mpt2SASRaidAdaptor) GetLogicVolumes() ([]*raid.RaidLogicalVolume, error)
- func (adapter *Mpt2SASRaidAdaptor) ParsePhyDevs() error
- func (adapter *Mpt2SASRaidAdaptor) PostBuildRaid() error
- func (adapter *Mpt2SASRaidAdaptor) PreBuildRaid(confs []*api.BaremetalDiskConfig) error
- func (adapter *Mpt2SASRaidAdaptor) RemoveLogicVolumes() error
- type Mpt2SASRaidPhyDev
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSpecString ¶
func GetSpecString(dev *baremetal.BaremetalStorage) string
func NewMpt2SASRaid ¶
func NewMpt2SASRaid(term raid.IExecTerm) raid.IRaidDriver
Types ¶
type Mpt2SASRaid ¶
type Mpt2SASRaid struct {
// contains filtered or unexported fields
}
func (*Mpt2SASRaid) CleanRaid ¶
func (r *Mpt2SASRaid) CleanRaid() error
func (*Mpt2SASRaid) GetAdapters ¶
func (r *Mpt2SASRaid) GetAdapters() []raid.IRaidAdapter
func (*Mpt2SASRaid) GetCommand ¶
func (r *Mpt2SASRaid) GetCommand(args ...string) string
func (*Mpt2SASRaid) GetName ¶
func (r *Mpt2SASRaid) GetName() string
func (*Mpt2SASRaid) ParsePhyDevs ¶
func (r *Mpt2SASRaid) ParsePhyDevs() error
func (*Mpt2SASRaid) PreBuildRaid ¶
func (r *Mpt2SASRaid) PreBuildRaid(_ []*api.BaremetalDiskConfig, _ int) error
type Mpt2SASRaidAdaptor ¶
type Mpt2SASRaidAdaptor struct {
// contains filtered or unexported fields
}
func (*Mpt2SASRaidAdaptor) BuildNoneRaid ¶
func (adapter *Mpt2SASRaidAdaptor) BuildNoneRaid(devs []*baremetal.BaremetalStorage) error
func (*Mpt2SASRaidAdaptor) BuildRaid0 ¶
func (adapter *Mpt2SASRaidAdaptor) BuildRaid0(devs []*baremetal.BaremetalStorage, conf *api.BaremetalDiskConfig) error
func (*Mpt2SASRaidAdaptor) BuildRaid1 ¶
func (adapter *Mpt2SASRaidAdaptor) BuildRaid1(devs []*baremetal.BaremetalStorage, conf *api.BaremetalDiskConfig) error
func (*Mpt2SASRaidAdaptor) BuildRaid10 ¶
func (adapter *Mpt2SASRaidAdaptor) BuildRaid10(devs []*baremetal.BaremetalStorage, conf *api.BaremetalDiskConfig) error
func (*Mpt2SASRaidAdaptor) BuildRaid5 ¶
func (adapter *Mpt2SASRaidAdaptor) BuildRaid5(devs []*baremetal.BaremetalStorage, conf *api.BaremetalDiskConfig) error
func (*Mpt2SASRaidAdaptor) GetDevices ¶
func (adapter *Mpt2SASRaidAdaptor) GetDevices() []*baremetal.BaremetalStorage
func (*Mpt2SASRaidAdaptor) GetIndex ¶
func (adapter *Mpt2SASRaidAdaptor) GetIndex() int
func (*Mpt2SASRaidAdaptor) GetLogicVolumes ¶
func (adapter *Mpt2SASRaidAdaptor) GetLogicVolumes() ([]*raid.RaidLogicalVolume, error)
func (*Mpt2SASRaidAdaptor) ParsePhyDevs ¶
func (adapter *Mpt2SASRaidAdaptor) ParsePhyDevs() error
func (*Mpt2SASRaidAdaptor) PostBuildRaid ¶
func (adapter *Mpt2SASRaidAdaptor) PostBuildRaid() error
func (*Mpt2SASRaidAdaptor) PreBuildRaid ¶
func (adapter *Mpt2SASRaidAdaptor) PreBuildRaid(confs []*api.BaremetalDiskConfig) error
func (*Mpt2SASRaidAdaptor) RemoveLogicVolumes ¶
func (adapter *Mpt2SASRaidAdaptor) RemoveLogicVolumes() error
type Mpt2SASRaidPhyDev ¶
type Mpt2SASRaidPhyDev struct { *raid.RaidBasePhyDev // contains filtered or unexported fields }
func (*Mpt2SASRaidPhyDev) ToBaremetalStorage ¶
func (dev *Mpt2SASRaidPhyDev) ToBaremetalStorage(idx int) *baremetal.BaremetalStorage
Click to show internal directories.
Click to hide internal directories.