Documentation ¶
Index ¶
- Constants
- func NewHighNodeUtilization(args runtime.Object, handle framework.Handle) (framework.Plugin, error)
- func NewLowNodeUtilization(args runtime.Object, handle framework.Handle) (framework.Plugin, error)
- type HighNodeUtilization
- type LowNodeUtilization
- type NodeInfo
- type NodePodsMap
- type NodeThresholds
- type NodeUsage
Constants ¶
View Source
const ( // MinResourcePercentage is the minimum value of a resource's percentage MinResourcePercentage = 0 // MaxResourcePercentage is the maximum value of a resource's percentage MaxResourcePercentage = 100 )
View Source
const HighNodeUtilizationPluginName = "HighNodeUtilization"
View Source
const LowNodeUtilizationPluginName = "LowNodeUtilization"
Variables ¶
This section is empty.
Functions ¶
func NewHighNodeUtilization ¶
NewHighNodeUtilization builds plugin from its arguments while passing a handle
Types ¶
type HighNodeUtilization ¶
type HighNodeUtilization struct {
// contains filtered or unexported fields
}
func (*HighNodeUtilization) Name ¶
func (h *HighNodeUtilization) Name() string
Name retrieves the plugin name
type LowNodeUtilization ¶
type LowNodeUtilization struct {
// contains filtered or unexported fields
}
func (*LowNodeUtilization) Name ¶
func (l *LowNodeUtilization) Name() string
Name retrieves the plugin name
type NodePodsMap ¶
NodePodsMap is a set of (node, pods) pairs
type NodeThresholds ¶
type NodeThresholds struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.