host

package
v0.10.1-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckNodeCapability

func CheckNodeCapability(ni *pbcom.NodeInfo, size pbcom.VirtualMachineSizeType) (err error)

func GetAvailableResources

func GetAvailableResources() (res *pbcom.Resources, err error)

func GetFreeMemory

func GetFreeMemory() (mem *pb.PhysicalMemory, err error)

GetFreeMemory

func GetNodeInformation

func GetNodeInformation() (ni *pbcom.NodeInfo, err error)

func GetTotalMemory

func GetTotalMemory() (mem *pb.PhysicalMemory, err error)

GetTotalMemory

func GetTotalProcessor

func GetTotalProcessor() (proc *pb.Processor, err error)

GetTotalProcessor

func GetTotalResources

func GetTotalResources() (res *pbcom.Resources, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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