docs: public static ClientBuilder kubeconfig(KubeConfig config) throws IOException {
      final ClientBuilder builder = new ClientBuilder();
  
      String server = config.getServer();
      if (!server.contains("://")) {
        if (server.contains(":443")) {
          server = "https://" + server;
        } else {
          server = "http://" + server;
        }
      }
  
      final byte[] caBytes =
          KubeConfig.getDataOrFile(
              config.getCertificateAuthorityData(), config.getCertificateAuthorityFile());
      if (caBytes != null) {
        builder.setCertificateAuthority(caBytes);
      }
      builder.setVerifyingSsl(config.verifySSL());
  
      builder.setBasePath(server);
      builder.setAuthentication(new KubeconfigAuthentication(config));
      return builder;
    }