Documentation ¶
Index ¶
- Constants
- func InitQRMCPUPlugins(agentCtx *agent.GenericContext, conf *config.Configuration, ...) (bool, agent.Component, error)
- func InitQRMMemoryPlugins(agentCtx *agent.GenericContext, conf *config.Configuration, ...) (bool, agent.Component, error)
- func RegisterCPUPolicyInitializer(name string, initFunc agent.InitFunc)
- func RegisterMemoryPolicyInitializer(name string, initFunc agent.InitFunc)
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 ¶
RegisterCPUPolicyInitializer is used to register user-defined cpu resource plugin init functions
func RegisterMemoryPolicyInitializer ¶
RegisterMemoryPolicyInitializer is used to register user-defined resource plugin init functions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.