Documentation
¶
Index ¶
- Variables
- func AddLabelToNode(nodeName string, key string, value string)
- func CleanNodes()
- func GetAllSchedulableNodes(virtClient kubecli.KubevirtClient) *k8sv1.NodeList
- func GetArch() string
- func GetHighestCPUNumberAmongNodes(virtClient kubecli.KubevirtClient) int
- func GetNodeDrainKey() string
- func GetNodeWithHugepages(virtClient kubecli.KubevirtClient, hugepages k8sv1.ResourceName) *k8sv1.Node
- func GetNodesWithKVM() []*k8sv1.Node
- func RemoveLabelFromNode(nodeName string, key string)
- func Taint(nodeName string, key string, effect k8sv1.TaintEffect)
Constants ¶
This section is empty.
Variables ¶
View Source
var SchedulableNode = ""
Functions ¶
func AddLabelToNode ¶
func AddLabelToNode(nodeName string, key string, value string)
func CleanNodes ¶
func CleanNodes()
func GetAllSchedulableNodes ¶
func GetAllSchedulableNodes(virtClient kubecli.KubevirtClient) *k8sv1.NodeList
func GetHighestCPUNumberAmongNodes ¶
func GetHighestCPUNumberAmongNodes(virtClient kubecli.KubevirtClient) int
func GetNodeDrainKey ¶
func GetNodeDrainKey() string
func GetNodeWithHugepages ¶
func GetNodeWithHugepages(virtClient kubecli.KubevirtClient, hugepages k8sv1.ResourceName) *k8sv1.Node
func GetNodesWithKVM ¶
func GetNodesWithKVM() []*k8sv1.Node
func RemoveLabelFromNode ¶
func RemoveLabelFromNode(nodeName string, key string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.