controller

package
v0.0.0-...-a2a58e3 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2017 License: MIT Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisksCheck

func DisksCheck() (disks []model.Disk)

func ExecCommand

func ExecCommand(command string) (out bytes.Buffer)

func HealtCheck

func HealtCheck(w http.ResponseWriter, r *http.Request)

func MemoryCheck

func MemoryCheck() (memory model.Memory)

func ProcessorCheck

func ProcessorCheck() *model.Processor

Types

type DeviceDescriptor

type DeviceDescriptor struct {
	Mountpoint string             `json:"mountpoint"`
	Type       string             `json:"type"`
	Name       string             `json:"name"`
	Children   []DeviceDescriptor `json:"children"`
}

type Devices

type Devices struct {
	BlockDevices []DeviceDescriptor `json:"blockdevices"`
}

Jump to

Keyboard shortcuts

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