qrm

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Index

Constants

View Source
const (
	QRMPluginNameCPU = "qrm_cpu_plugin"
)
View Source
const (
	QRMPluginNameMemory = "qrm_memory_plugin"
)

Variables

This section is empty.

Functions

func InitQRMCPUPlugins

func InitQRMCPUPlugins(agentCtx *agent.GenericContext, conf *config.Configuration, extraConf interface{}, agentName string) (bool, agent.Component, error)

func InitQRMMemoryPlugins

func InitQRMMemoryPlugins(agentCtx *agent.GenericContext, conf *config.Configuration, extraConf interface{}, agentName string) (bool, agent.Component, error)

func RegisterCPUPolicyInitializer

func RegisterCPUPolicyInitializer(name string, initFunc agent.InitFunc)

RegisterCPUPolicyInitializer is used to register user-defined cpu resource plugin init functions

func RegisterMemoryPolicyInitializer

func RegisterMemoryPolicyInitializer(name string, initFunc agent.InitFunc)

RegisterMemoryPolicyInitializer is used to register user-defined resource plugin init functions

Types

This section is empty.

Jump to

Keyboard shortcuts

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