raidcontroller

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RHEL8

func NewRHEL8

func NewRHEL8(
	physicalDriveGetter *physicaldrivegetter.RHEL8,
	logicalVolumesGetter *logicalvolumegetter.MDADM,
	logicalVolumesManager *logicalvolumemanager.MDADM,
) *RHEL8

NewRHEL8 creates a new RHEL8 instance

using compatible implementations of the required interfaces
(MDADM for logical volumes, UDevADM and LSBLK for physical drives)

func (*RHEL8) Controller

func (*RHEL8) Controllers

func (*RHEL8) Controllers() ([]*raidcontroller.RAIDController, error)

func (*RHEL8) DisableJBOD

func (*RHEL8) DisableJBOD(_ *physicaldrive.Metadata) error

func (*RHEL8) EnableJBOD

func (*RHEL8) EnableJBOD(_ *physicaldrive.Metadata) error

func (*RHEL8) SetLVCacheOptions

func (*RHEL8) SetLVCacheOptions(_ *logicalvolume.Metadata, _ *logicalvolume.CacheOptions) error
func (*RHEL8) StartBlink(_ *physicaldrive.Metadata) error
func (*RHEL8) StopBlink(_ *physicaldrive.Metadata) error

type SmartArray

func NewSmartArray

func NewSmartArray(
	controllersGetter ports.ControllersGetter,
	physicalDrivesGetter ports.PhysicalDrivesGetter,
	logicalVolumesGetter ports.LogicalVolumesGetter,
	logicalVolumesManager ports.LogicalVolumesManager,
	blinker ports.Blinker,
) *SmartArray

func (*SmartArray) DisableJBOD

func (*SmartArray) DisableJBOD(_ *physicaldrive.Metadata) error

func (*SmartArray) EnableJBOD

func (*SmartArray) EnableJBOD(_ *physicaldrive.Metadata) error

func (*SmartArray) SetLVCacheOptions

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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