Documentation
¶
Index ¶
- func GetRegisteredEnhancementUpdateFuncs() map[string]EnhancementUpdateFunc
- func ParseKatalystQOSEnhancement(enhancements, podAnnotations map[string]string, enhancementKey string) (enhancementConfig map[string]string)
- func RegisterEnhancementUpdateFunc(enhancementKey string, f EnhancementUpdateFunc)
- func SetQoSLevelUpdateFunc(f QoSLevelUpdateFunc)
- type EnhancementUpdateFunc
- type QoSLevelUpdateFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRegisteredEnhancementUpdateFuncs ¶
func GetRegisteredEnhancementUpdateFuncs() map[string]EnhancementUpdateFunc
func ParseKatalystQOSEnhancement ¶
func ParseKatalystQOSEnhancement(enhancements, podAnnotations map[string]string, enhancementKey string) (enhancementConfig map[string]string)
ParseKatalystQOSEnhancement parses enhancements from annotations by given key, since enhancement values are stored as k-v, so we should unmarshal it into maps.
func RegisterEnhancementUpdateFunc ¶
func RegisterEnhancementUpdateFunc(enhancementKey string, f EnhancementUpdateFunc)
func SetQoSLevelUpdateFunc ¶
func SetQoSLevelUpdateFunc(f QoSLevelUpdateFunc)
Types ¶
type EnhancementUpdateFunc ¶
EnhancementUpdateFunc provides a mechanism for user-specified enhancement kvs for specific key since we may need to set qos-level for some customized cases
func GetRegisteredEnhancementUpdateFunc ¶
func GetRegisteredEnhancementUpdateFunc(enhancementKey string) EnhancementUpdateFunc
type QoSLevelUpdateFunc ¶
QoSLevelUpdateFunc provides a mechanism for user-specified qos judgement since we may need to set qos-level for some customized cases
func GetQoSLevelUpdateFunc ¶
func GetQoSLevelUpdateFunc() QoSLevelUpdateFunc
Click to show internal directories.
Click to hide internal directories.