Documentation ¶
Index ¶
- Constants
- func AppendOOMPriorityCalculator(calculator OOMPriorityCalculator)
- func DummyInitOOMPriorityBPF() error
- func GetOOMPriority(qosConfig *generic.QoSConfiguration, pod *core.Pod) (oomPriority int, err error)
- func SetInitOOMPriorityBPFFunc(f InitOOMPriorityBPFFunc)
- type InitOOMPriorityBPFFunc
- type OOMPriorityCalculator
Constants ¶
View Source
const ( ClearResidualOOMPriorityPeriodicalHandlerName = "clearResidualOOMPriority" SyncOOMPriorityPriorityPeriodicalHandlerName = "syncOOMPriority" )
Variables ¶
This section is empty.
Functions ¶
func AppendOOMPriorityCalculator ¶
func AppendOOMPriorityCalculator(calculator OOMPriorityCalculator)
func DummyInitOOMPriorityBPF ¶
func DummyInitOOMPriorityBPF() error
func GetOOMPriority ¶
func SetInitOOMPriorityBPFFunc ¶
func SetInitOOMPriorityBPFFunc(f InitOOMPriorityBPFFunc)
Types ¶
type InitOOMPriorityBPFFunc ¶
type InitOOMPriorityBPFFunc func() error
func GetInitOOMPriorityBPFFunc ¶
func GetInitOOMPriorityBPFFunc() InitOOMPriorityBPFFunc
type OOMPriorityCalculator ¶
Click to show internal directories.
Click to hide internal directories.