utils

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2025 License: Apache-2.0 Imports: 7 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateConditionEffect added in v0.5.5

func GenerateConditionEffect(level consts.QoSLevel, effect v1.TaintEffect) string

GenerateConditionEffect generates the condition effect from QoS level and CNR effect.

func GenerateTopologyPolicy

func GenerateTopologyPolicy(policy string, scope string) nodev1alpha1.TopologyPolicy

GenerateTopologyPolicy generates TopologyPolicy which presents both Topology manager policy and scope.

func ParseConditionEffect added in v0.5.5

func ParseConditionEffect(effect string) (consts.QoSLevel, v1.TaintEffect, error)

ParseConditionEffect parses the condition effect into QoS level and CNR effect.

Types

This section is empty.

Jump to

Keyboard shortcuts

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