system

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2020 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type System

type System struct {
	Cloud     *cloud.Probe     `json:"cloud"`
	Container *container.Probe `json:"container"`
	CPU       *cpu.Probe       `json:"cpu"`
	Distro    *distro.Probe    `json:"distro"`
	Memory    *memory.Probe    `json:"memory"`
	Network   *network.Probe   `json:"network"`
	Platform  *platform.Probe  `json:"platform"`
	Storage   *storage.Probe   `json:"storage"`
	Virt      *virt.Probe      `json:"virt"`
}

System struct for all probes we want to report at once.

func Probe

func Probe() (*System, error)

Probe initializes all the required structs.

func (*System) JSON

func (s *System) JSON() string

JSON representation of the struct.

func (*System) String

func (s *System) String() string

String representation of the struct.

Jump to

Keyboard shortcuts

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