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 InitQRMNetworkPlugins(agentCtx *agent.GenericContext, conf *config.Configuration, ...) (bool, agent.Component, error)
- func RegisterCPUPolicyInitializer(name string, initFunc agent.InitFunc)
- func RegisterMemoryPolicyInitializer(name string, initFunc agent.InitFunc)
- func RegisterNetworkPolicyInitializer(name string, initFunc agent.InitFunc)
Constants ¶
View Source
const (
QRMPluginNameCPU = "qrm_cpu_plugin"
)
View Source
const (
QRMPluginNameMemory = "qrm_memory_plugin"
)
View Source
const (
QRMPluginNameNetwork = "qrm_network_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 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 ¶
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
func RegisterNetworkPolicyInitializer ¶ added in v0.2.0
RegisterNetworkPolicyInitializer 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.