Documentation ¶
Index ¶
- func AvailableResourceListFromNodeResourceTopology(nodeTopo *v1alpha1.NodeResourceTopology) map[string]v1.ResourceList
- func CmpAvailableCPUs(expected, got map[string]v1.ResourceList) (string, int, bool)
- func CmpAvailableResources(expected, got map[string]v1.ResourceList) (string, string, int, bool)
- func CmpResourceList(expected, got v1.ResourceList) (string, int, bool)
- func GetNodeTopology(topologyClient *topologyclientset.Clientset, nodeName string) *v1alpha1.NodeResourceTopology
- func IsValidCostList(zoneName string, costs v1alpha1.CostList) bool
- func IsValidNodeTopology(nodeTopology *v1alpha1.NodeResourceTopology, tmPolicy string) bool
- func IsValidResourceList(zoneName string, resources v1alpha1.ResourceInfoList) bool
- func LessAvailableResources(expected, got map[string]v1.ResourceList) (string, string, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AvailableResourceListFromNodeResourceTopology ¶
func AvailableResourceListFromNodeResourceTopology(nodeTopo *v1alpha1.NodeResourceTopology) map[string]v1.ResourceList
func CmpAvailableCPUs ¶ added in v0.4.2
func CmpAvailableResources ¶
func CmpResourceList ¶
func CmpResourceList(expected, got v1.ResourceList) (string, int, bool)
func GetNodeTopology ¶
func GetNodeTopology(topologyClient *topologyclientset.Clientset, nodeName string) *v1alpha1.NodeResourceTopology
func IsValidNodeTopology ¶
func IsValidNodeTopology(nodeTopology *v1alpha1.NodeResourceTopology, tmPolicy string) bool
func IsValidResourceList ¶
func IsValidResourceList(zoneName string, resources v1alpha1.ResourceInfoList) bool
func LessAvailableResources ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.