Documentation ¶
Index ¶
- func CheckFeatureGateEnable(kubeletConfig *kubeletconfigv1beta1.KubeletConfiguration, features ...string) (bool, error)
- func GetInTreeProviderPolicies(kubeletConfig *kubeletconfigv1beta1.KubeletConfiguration) (map[string]string, error)
- func GetReservedQuantity(kubeletConfig *kubeletconfigv1beta1.KubeletConfiguration, resourceName string) (resource.Quantity, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFeatureGateEnable ¶
func CheckFeatureGateEnable(kubeletConfig *kubeletconfigv1beta1.KubeletConfiguration, features ...string) (bool, error)
CheckFeatureGateEnable returns true if all the given features are enabled
func GetInTreeProviderPolicies ¶
func GetInTreeProviderPolicies(kubeletConfig *kubeletconfigv1beta1.KubeletConfiguration) (map[string]string, error)
GetInTreeProviderPolicies returns a map containing the policy for in-tree topology-hint-provider, i.e. cpu-manager && memory-manager
func GetReservedQuantity ¶
func GetReservedQuantity(kubeletConfig *kubeletconfigv1beta1.KubeletConfiguration, resourceName string) (resource.Quantity, bool, error)
GetReservedQuantity the quantity for reserved resources defined in KubeletConfiguration
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.