var joinCommandTemplate … // GetJoinWorkerCommand returns the kubeadm join command for a given token and // Kubernetes cluster (the current cluster in the kubeconfig file) func GetJoinWorkerCommand(kubeConfigFile, token string, skipTokenPrint bool) (string, error) { … } // GetJoinControlPlaneCommand returns the kubeadm join command for a given token and // Kubernetes cluster (the current cluster in the kubeconfig file) func GetJoinControlPlaneCommand(kubeConfigFile, token, key string, skipTokenPrint, skipCertificateKeyPrint bool) (string, error) { … } func getJoinCommand(kubeConfigFile, token, key string, controlPlane, skipTokenPrint, skipCertificateKeyPrint bool) (string, error) { … }