oom

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 GetOOMPriority(qosConfig *generic.QoSConfiguration, pod *core.Pod) (oomPriority int, err error)

func SetInitOOMPriorityBPFFunc

func SetInitOOMPriorityBPFFunc(f InitOOMPriorityBPFFunc)

Types

type InitOOMPriorityBPFFunc

type InitOOMPriorityBPFFunc func() error

func GetInitOOMPriorityBPFFunc

func GetInitOOMPriorityBPFFunc() InitOOMPriorityBPFFunc

type OOMPriorityCalculator

type OOMPriorityCalculator func(qosConfig *generic.QoSConfiguration, pod *core.Pod, previousPriority int) (int, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL