Documentation
¶
Index ¶
- func CompatibleLegacyRegionType(regionType v1alpha1.QoSRegionType) v1alpha1.QoSRegionType
- func GenerateConditionEffect(level consts.QoSLevel, effect v1.TaintEffect) string
- func GenerateTopologyPolicy(policy string, scope string) nodev1alpha1.TopologyPolicy
- func ParseConditionEffect(effect string) (consts.QoSLevel, v1.TaintEffect, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompatibleLegacyRegionType ¶ added in v0.5.9
func CompatibleLegacyRegionType(regionType v1alpha1.QoSRegionType) v1alpha1.QoSRegionType
CompatibleLegacyRegionType convert deprecated region type to new one
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
ParseConditionEffect parses the condition effect into QoS level and CNR effect.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.