util

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 13 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetContainerTypeAndIndex added in v0.4.0

func GetContainerTypeAndIndex(pod *v1.Pod, container *v1.Container) (containerType pluginapi.ContainerType, containerIndex uint64, err error)

func GetPodEffectiveRequest added in v0.4.0

func GetPodEffectiveRequest(pod *v1.Pod) v1.ResourceList

func IsDedicatedPod added in v0.4.0

func IsDedicatedPod(pod *v1.Pod) bool

func IsExclusive added in v0.4.0

func IsExclusive(pod *v1.Pod) bool

func IsNumaBinding added in v0.4.0

func IsNumaBinding(pod *v1.Pod) bool

func IsReclaimedPod

func IsReclaimedPod(pod *v1.Pod) bool

func IsRequestFullCPU added in v0.4.0

func IsRequestFullCPU(pod *v1.Pod) bool

func NewFramework added in v0.4.0

func NewFramework(fns []st.RegisterPluginFunc, cfgs []config.PluginConfig, profileName string, opts ...runtime.Option) (framework.Framework, error)

NewFramework is a variant version of st.NewFramework - with extra PluginConfig slice as input.

func SetQoSConfig

func SetQoSConfig(config *generic.QoSConfiguration)

Types

This section is empty.

Jump to

Keyboard shortcuts

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