inventory

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Capability

type Capability struct {
	Name      string `json:"name"`
	Available bool   `json:"available"`
}

Capability represents capability and its availability

func CheckRDT

func CheckRDT() Capability

CheckRDT checks if CAT_RDT support exist on host

func CheckScaling

func CheckScaling() Capability

CheckScaling checks if proper CPU freq. scaling driver is available

type Inventory

type Inventory struct {
}

Inventory invenotry struct

func (*Inventory) GetCapabilities

func (i *Inventory) GetCapabilities(request *restful.Request, response *restful.Response)

GetCapabilities return inventory capabilites

func (*Inventory) Register

func (i *Inventory) Register(container *restful.Container)

Register registers REST endpoint

Jump to

Keyboard shortcuts

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