class OpenShiftVersionExample {
  private static final Logger logger = LoggerFactory.getLogger(OpenShiftVersionExample.class);

  public static void main(String[] args) {<FILL_FUNCTION_BODY>}
}

    final ConfigBuilder configBuilder = new ConfigBuilder();
    if (args.length > 0) {
      configBuilder.withMasterUrl(args[0]);
    }
    try (OpenShiftClient client = new KubernetesClientBuilder()
        .withConfig(configBuilder.build()).build().adapt(OpenShiftClient.class)) {
      VersionInfo openShiftVersionInfo = client.getOpenShiftV3Version();

      logger.info("Version details of this OpenShift cluster :-");
      logger.info("Major        : {}", openShiftVersionInfo.getMajor());
      logger.info("Minor        : {}", openShiftVersionInfo.getMinor());
      logger.info("GitVersion   : {}", openShiftVersionInfo.getGitVersion());
      logger.info("BuildDate    : {}", openShiftVersionInfo.getBuildDate());
      logger.info("GitTreeState : {}", openShiftVersionInfo.getGitTreeState());
      logger.info("Platform     : {}", openShiftVersionInfo.getPlatform());
      logger.info("GitVersion   : {}", openShiftVersionInfo.getGitVersion());
      logger.info("GoVersion    : {}", openShiftVersionInfo.getGoVersion());
      logger.info("GitCommit    : {}", openShiftVersionInfo.getGitCommit());
    }
  
<no_super_class>