Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BlockStorageCommand = cli.Command{
Name: "bs",
Usage: "check block-storage informations",
Action: bsCheckerCommand,
}
View Source
var MachineCommand = cli.Command{ Name: "machine", Usage: "check machine informations", Action: machineCheckerCommand, Flags: []cli.Flag{}, }
Functions ¶
func BsMerge ¶ added in v0.1.4
func BsMerge(bsFs map[uuid.UUID]*bs.BlockStorageInfos, bsProvider map[uuid.UUID]*bs.BlockStorageInfos) ([]byte, error)
func GetBsProvider ¶ added in v0.1.4
func GetBsProvider(machineInfos *machine.MachineInfos) (map[uuid.UUID]*bs.BlockStorageInfos, error)
func MachineChecker ¶
func MachineChecker() (*machine.MachineInfos, error)
Types ¶
type Diff ¶ added in v0.1.5
type Diff struct { Count int `json:"count"` Data []*bsTuple `json:"data"` }
type IncoherenceError ¶
type IncoherenceError struct{}
func (*IncoherenceError) Error ¶
func (e *IncoherenceError) Error() string
type Merged ¶ added in v0.1.5
type Merged struct { Count int `json:"count"` Data []*bs.BlockStorageInfos `json:"data"` }
Click to show internal directories.
Click to hide internal directories.