code: func MarkControlPlane(client clientset.Interface, controlPlaneName string, taints []v1.Taint) error {
  
  	fmt.Printf("[mark-control-plane] Marking the node %s as control-plane by adding the label \"%s=''\"\n", controlPlaneName, constants.LabelNodeRoleMaster)
  
  	if len(taints) > 0 {
  		taintStrs := []string{}
  		for _, taint := range taints {
  			taintStrs = append(taintStrs, taint.ToString())
  		}
  		fmt.Printf("[mark-control-plane] Marking the node %s as control-plane by adding the taints %v\n", controlPlaneName, taintStrs)
  	}
  
  	return apiclient.PatchNode(client, controlPlaneName, func(n *v1.Node) {
  		markControlPlaneNode(n, taints)
  	})
  }
docs: // MarkControlPlane taints the control-plane and sets the control-plane label