hpssactl

package
v0.0.0-...-6410feb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCommand

func GetCommand(args ...string) string

func GetSpecString

func GetSpecString(dev *baremetal.BaremetalStorage) string

func NewHPSARaid

func NewHPSARaid(term raid.IExecTerm) raid.IRaidDriver

Types

type HPSARaid

type HPSARaid struct {
	// contains filtered or unexported fields
}

func (*HPSARaid) CleanRaid

func (r *HPSARaid) CleanRaid() error

func (*HPSARaid) GetAdapters

func (r *HPSARaid) GetAdapters() []raid.IRaidAdapter

func (*HPSARaid) GetName

func (r *HPSARaid) GetName() string

func (*HPSARaid) ParsePhyDevs

func (r *HPSARaid) ParsePhyDevs() error

func (*HPSARaid) PreBuildRaid

func (r *HPSARaid) PreBuildRaid(_ []*api.BaremetalDiskConfig, _ int) error

type HPSARaidAdaptor

type HPSARaidAdaptor struct {
	// contains filtered or unexported fields
}

func (*HPSARaidAdaptor) BuildNoneRaid

func (adapter *HPSARaidAdaptor) BuildNoneRaid(devs []*baremetal.BaremetalStorage) error

func (*HPSARaidAdaptor) BuildRaid0

func (adapter *HPSARaidAdaptor) BuildRaid0(devs []*baremetal.BaremetalStorage, conf *api.BaremetalDiskConfig) error

func (*HPSARaidAdaptor) BuildRaid1

func (adapter *HPSARaidAdaptor) BuildRaid1(devs []*baremetal.BaremetalStorage, conf *api.BaremetalDiskConfig) error

func (*HPSARaidAdaptor) BuildRaid10

func (adapter *HPSARaidAdaptor) BuildRaid10(devs []*baremetal.BaremetalStorage, conf *api.BaremetalDiskConfig) error

func (*HPSARaidAdaptor) BuildRaid5

func (adapter *HPSARaidAdaptor) BuildRaid5(devs []*baremetal.BaremetalStorage, conf *api.BaremetalDiskConfig) error

func (*HPSARaidAdaptor) GetDevices

func (adapter *HPSARaidAdaptor) GetDevices() []*baremetal.BaremetalStorage

func (*HPSARaidAdaptor) GetIndex

func (adapter *HPSARaidAdaptor) GetIndex() int

func (*HPSARaidAdaptor) GetLogicVolumes

func (adapter *HPSARaidAdaptor) GetLogicVolumes() ([]*raid.RaidLogicalVolume, error)

func (*HPSARaidAdaptor) ParsePhyDevs

func (adapter *HPSARaidAdaptor) ParsePhyDevs() error

func (*HPSARaidAdaptor) PostBuildRaid

func (adapter *HPSARaidAdaptor) PostBuildRaid() error

func (*HPSARaidAdaptor) PreBuildRaid

func (adapter *HPSARaidAdaptor) PreBuildRaid(confs []*api.BaremetalDiskConfig) error

func (*HPSARaidAdaptor) RemoveLogicVolumes

func (adapter *HPSARaidAdaptor) RemoveLogicVolumes() error

type HPSARaidPhyDev

type HPSARaidPhyDev struct {
	*raid.RaidBasePhyDev
	// contains filtered or unexported fields
}

func (*HPSARaidPhyDev) ToBaremetalStorage

func (dev *HPSARaidPhyDev) ToBaremetalStorage(index int) *baremetal.BaremetalStorage

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL