adaptec

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: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerModeRaidExposeRaw = "RAID (Expose RAW)"
	ControllerModeRaidHideRaw   = "RAID (Hide RAW)"
	ControllerModeMixed         = "Mixed"
)

Variables

This section is empty.

Functions

func GetCommand

func GetCommand(args ...string) string

func NewAdaptecRaid

func NewAdaptecRaid(term raid.IExecTerm) raid.IRaidDriver

Types

type AdaptecRaid

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

func (*AdaptecRaid) CleanRaid

func (r *AdaptecRaid) CleanRaid() error

func (*AdaptecRaid) GetAdapters

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

func (*AdaptecRaid) GetName

func (r *AdaptecRaid) GetName() string

func (*AdaptecRaid) ParsePhyDevs

func (r *AdaptecRaid) ParsePhyDevs() error

func (*AdaptecRaid) PreBuildRaid

func (r *AdaptecRaid) PreBuildRaid(confs []*api.BaremetalDiskConfig, adapterIdx int) error

type AdaptecRaidAdaptor

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

func NewAdaptecRaidAdaptor

func NewAdaptecRaidAdaptor(index int, raid *AdaptecRaid) (*AdaptecRaidAdaptor, error)

func (*AdaptecRaidAdaptor) BuildNoneRaid

func (ada *AdaptecRaidAdaptor) BuildNoneRaid(devs []*baremetal.BaremetalStorage) error

func (*AdaptecRaidAdaptor) BuildRaid0

func (*AdaptecRaidAdaptor) BuildRaid1

func (*AdaptecRaidAdaptor) BuildRaid10

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

func (*AdaptecRaidAdaptor) BuildRaid5

func (*AdaptecRaidAdaptor) GetDevices

func (ada *AdaptecRaidAdaptor) GetDevices() []*baremetal.BaremetalStorage

func (*AdaptecRaidAdaptor) GetIndex

func (ada *AdaptecRaidAdaptor) GetIndex() int

func (*AdaptecRaidAdaptor) GetLogicVolumes

func (ada *AdaptecRaidAdaptor) GetLogicVolumes() ([]*raid.RaidLogicalVolume, error)

func (*AdaptecRaidAdaptor) PostBuildRaid

func (r *AdaptecRaidAdaptor) PostBuildRaid() error

func (*AdaptecRaidAdaptor) PreBuildRaid

func (ada *AdaptecRaidAdaptor) PreBuildRaid(confs []*api.BaremetalDiskConfig) error

func (*AdaptecRaidAdaptor) RemoveLogicVolumes

func (ada *AdaptecRaidAdaptor) RemoveLogicVolumes() error

type AdaptecRaidPhyDev

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

func (*AdaptecRaidPhyDev) ToBaremetalStorage

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

Jump to

Keyboard shortcuts

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