code: func NewCmdConfigSetCluster(out io.Writer, configAccess clientcmd.ConfigAccess) *cobra.Command {
  	options := &createClusterOptions{configAccess: configAccess}
  
  	cmd := &cobra.Command{
  		Use:                   fmt.Sprintf("set-cluster NAME [--%v=server] [--%v=path/to/certificate/authority] [--%v=true]", clientcmd.FlagAPIServer, clientcmd.FlagCAFile, clientcmd.FlagInsecure),
  		DisableFlagsInUseLine: true,
  		Short:                 i18n.T("Sets a cluster entry in kubeconfig"),
  		Long:                  createClusterLong,
  		Example:               createClusterExample,
  		Run: func(cmd *cobra.Command, args []string) {
  			cmdutil.CheckErr(options.complete(cmd))
  			cmdutil.CheckErr(options.run())
  			fmt.Fprintf(out, "Cluster %q set.\n", options.name)
  		},
  	}
  
  	options.insecureSkipTLSVerify.Default(false)
  
  	cmd.Flags().Var(&options.server, clientcmd.FlagAPIServer, clientcmd.FlagAPIServer+" for the cluster entry in kubeconfig")
  	f := cmd.Flags().VarPF(&options.insecureSkipTLSVerify, clientcmd.FlagInsecure, "", clientcmd.FlagInsecure+" for the cluster entry in kubeconfig")
  	f.NoOptDefVal = "true"
  	cmd.Flags().Var(&options.certificateAuthority, clientcmd.FlagCAFile, "Path to "+clientcmd.FlagCAFile+" file for the cluster entry in kubeconfig")
  	cmd.MarkFlagFilename(clientcmd.FlagCAFile)
  	f = cmd.Flags().VarPF(&options.embedCAData, clientcmd.FlagEmbedCerts, "", clientcmd.FlagEmbedCerts+" for the cluster entry in kubeconfig")
  	f.NoOptDefVal = "true"
  
  	return cmd
  }
docs: // NewCmdConfigSetCluster returns a Command instance for 'config set-cluster' sub command