Documentation ¶
Index ¶
Constants ¶
View Source
const (
// Print the number of controllers connected in JSON format.
STOR_SHOW_CTRL_COUNT = "show ctrlcount j"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandStatus ¶
type ControllerCount ¶
type ControllerCount struct { CommandStatus CommandStatus `json:"Command Status"` ResponseData CountResponseData `json:"Response Data"` }
type ControllerCounts ¶
type ControllerCounts struct {
Controllers []ControllerCount `json:"Controllers"`
}
type Controllers ¶
type Controllers struct {
CommandStatus CommandStatus `json:"Command Status"`
}
type CountResponseData ¶
type CountResponseData struct {
ControllerCount int `json:"Controller Count"`
}
type OperateResult ¶
type OperateResult struct {
Controllers []Controllers `json:"Controllers"`
}
type Stor ¶
type Stor struct {
Path string `json:"Path"`
}
Stor implements the raid.Manager interface.
func (*Stor) GetControllerCount ¶
GetControllerCount implements the raid.Manager interface.
Click to show internal directories.
Click to hide internal directories.