check

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

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 All added in v0.1.5

type All struct {
	Merged Merged `json:"merged"`
	Diff   Diff   `json:"diff"`
}

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"`
}

Jump to

Keyboard shortcuts

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