apputil

package
v0.0.0-...-3d2ccb6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

View Source
const (
	HugepagesRequestPath = "hugepages_request"
	HugepagesLimitPath   = "hugepages_limit"
)

Variables

View Source
var AppNetutilVersion = "development"
View Source
var GitCommit = "v0.0.0"

GitCommit and AppNetutilVersion overwritten by hack/build.sh and hack/build-c.sh

Functions

func GetCPUInfo

func GetCPUInfo() (*types.CPUResponse, error)

func GetDownwardAPIMountPath

func GetDownwardAPIMountPath() string

func GetHugepages

func GetHugepages() (*types.HugepagesResponse, error)

API Functions

func GetInterfaces

func GetInterfaces() (*types.InterfaceResponse, error)

API Functions

func SetDownwardAPIMountPath

func SetDownwardAPIMountPath(mntPnt string)

Types

type EnvResponse

type EnvResponse struct {
	Envs map[string]string
}

Jump to

Keyboard shortcuts

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