code: func CreateBasic(serverURL, clusterName, userName string, caCert []byte) *clientcmdapi.Config {
  	// Use the cluster and the username as the context name
  	contextName := fmt.Sprintf("%s@%s", userName, clusterName)
  
  	return &clientcmdapi.Config{
  		Clusters: map[string]*clientcmdapi.Cluster{
  			clusterName: {
  				Server:                   serverURL,
  				CertificateAuthorityData: caCert,
  			},
  		},
  		Contexts: map[string]*clientcmdapi.Context{
  			contextName: {
  				Cluster:  clusterName,
  				AuthInfo: userName,
  			},
  		},
  		AuthInfos:      map[string]*clientcmdapi.AuthInfo{},
  		CurrentContext: contextName,
  	}
  }
docs: // CreateBasic creates a basic, general KubeConfig object that then can be extended