qrm

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 6

Documentation

Index

Constants

View Source
const (
	QRMPluginNameCPU = "qrm_cpu_plugin"
)
View Source
const (
	QRMPluginNameIO = "qrm_io_plugin"
)
View Source
const (
	QRMPluginNameMemory = "qrm_memory_plugin"
)
View Source
const (
	QRMPluginNameNetwork = "qrm_network_plugin"
)

Variables

Functions

func InitQRMCPUPlugins

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

func InitQRMIOPlugins added in v0.4.0

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

InitQRMIOPlugins initializes the io QRM plugins

func InitQRMMemoryPlugins

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

func InitQRMNetworkPlugins added in v0.2.0

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

InitQRMNetworkPlugins initializes the network QRM plugins

func RegisterCPUPolicyInitializer

func RegisterCPUPolicyInitializer(name string, initFunc agent.InitFunc)

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

func RegisterIOPolicyInitializer added in v0.4.0

func RegisterIOPolicyInitializer(name string, initFunc agent.InitFunc)

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

func RegisterMemoryPolicyInitializer

func RegisterMemoryPolicyInitializer(name string, initFunc agent.InitFunc)

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

func RegisterNetworkPolicyInitializer added in v0.2.0

func RegisterNetworkPolicyInitializer(name string, initFunc agent.InitFunc)

RegisterNetworkPolicyInitializer 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