code: func CreateWithToken(serverURL, clusterName, userName string, caCert []byte, token string) *clientcmdapi.Config {
  	config := CreateBasic(serverURL, clusterName, userName, caCert)
  	config.AuthInfos[userName] = &clientcmdapi.AuthInfo{
  		Token: token,
  	}
  	return config
  }
docs: // CreateWithToken creates a KubeConfig object with access to the API server with a token