raid

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandStatus

type CommandStatus struct {
	CLIVersion      string `json:"CLI Version"`
	OperatingSystem string `json:"Operating system"`
	Controller      int    `json:"Controller"`
	Status          string `json:"Status"`
	Description     string `json:"Description"`
}

type Manager

type Manager interface {
	GetControllerCount() (count int, err error)
}

Manager define interfaces about how to get RAID info

type PhysicalDrive

type PhysicalDrive struct {
	// Storage Capacity
	Size string `json:"Size"`

	// Represents disk online or not
	State string `json:"State"`

	// Disk type e.g, HDD,SSD,NVMe
	Med string `json:"Med"`
}

type ResponseData

type ResponseData struct {
	ControllerCount int `json:"Controller Count"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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