var updateLabelBackoff … // AddOrUpdateLabelsOnNode updates the labels on the node and returns true on // success and false on failure. func AddOrUpdateLabelsOnNode(kubeClient clientset.Interface, labelsToUpdate map[string]string, node *v1.Node) bool { … } func addOrUpdateLabelsOnNode(kubeClient clientset.Interface, nodeName string, labelsToUpdate map[string]string) error { … }