system

package
v0.0.0-...-75fc4e7 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Site    string
	Rack    string
	RackPos int32
	RackHgt int32
	VM      bool
	VMSrvr  string
)
View Source
var Headers = []string{
	"address",
	"manufacturer",
	"product",
	"product_version",
	"serial_number",
	"bios_vendor",
	"bios_date",
	"bios_version",
	"boot_rom_version",
	"smc_version",
	"memory_gb",
	"cpu_cores_per_socket",
	"cpu_physical_cores",
	"cpu_logical_cores",
	"cpu_sockets",
	"cpu_threads_per_core",
	"cpu_model",
	"cpu_flags",
	"os",
	"os_version",
	"os_build",
	"os_descr",
	"kernel",
	"kernel_version",
	"kernel_release",
	"description",
	"site",
	"rack",
	"rack_position",
	"rack_height",
	"vm",
	"vm_server",
}

Functions

func GetSystem

func GetSystem() (*resources.System, error)

func SetInfo

func SetInfo(site string, rack string, rackPos int, rackHgt int, vm bool, vmSrvr string)

func StringSlice

func StringSlice(s *resources.System) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

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