type NodeSelection …
func setNodeAffinityRequirement(nodeSelection *NodeSelection, operator v1.NodeSelectorOperator, nodeName string) { … }
func SetNodeAffinityTopologyRequirement(nodeSelection *NodeSelection, topology map[string]string) { … }
func SetAffinity(nodeSelection *NodeSelection, nodeName string) { … }
func SetAntiAffinity(nodeSelection *NodeSelection, nodeName string) { … }
func SetNodeAffinity(podSpec *v1.PodSpec, nodeName string) { … }
func SetNodeSelection(podSpec *v1.PodSpec, nodeSelection NodeSelection) { … }