Documentation ¶
Index ¶
- Constants
- Variables
- func InitQRMCPUPlugins(agentCtx *agent.GenericContext, conf *config.Configuration, ...) (bool, agent.Component, error)
- func InitQRMIOPlugins(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 RegisterIOPolicyInitializer(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 (
QRMPluginNameIO = "qrm_io_plugin"
)
View Source
const (
QRMPluginNameMemory = "qrm_memory_plugin"
)
View Source
const (
QRMPluginNameNetwork = "qrm_network_plugin"
)
Variables ¶
View Source
var QRMCPUPluginPeriodicalHandlerGroupName = strings.Join([]string{ QRMPluginNameCPU, phconsts.PeriodicalHandlersGroupNameSuffix, }, phconsts.GroupNameSeparator)
View Source
var QRMIOPluginPeriodicalHandlerGroupName = strings.Join([]string{ QRMPluginNameIO, phconsts.PeriodicalHandlersGroupNameSuffix, }, phconsts.GroupNameSeparator)
View Source
var ( QRMMemoryPluginPeriodicalHandlerGroupName = strings.Join([]string{ QRMPluginNameMemory, phconsts.PeriodicalHandlersGroupNameSuffix, }, phconsts.GroupNameSeparator) )
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 ¶
RegisterCPUPolicyInitializer is used to register user-defined cpu resource plugin init functions
func RegisterIOPolicyInitializer ¶ added in v0.4.0
RegisterIOPolicyInitializer is used to register user-defined 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.