var labelsToAdd … // MarkControlPlane taints the control-plane and sets the control-plane label func MarkControlPlane(client clientset.Interface, controlPlaneName string, taints []v1.Taint) error { … } func taintExists(taint v1.Taint, taints []v1.Taint) bool { … } func markControlPlaneNode(n *v1.Node, taints []v1.Taint) { … }