class K8sAPIDashboardTask {

	public static void doK8sApiDashboardDataLoad() throws Exception {
		logger.info("************** STARTED doK8sApiDashboardDataLoad **************");
		List<EnvironmentVO> envInfoList = DBQueryUtil.getAllEnvironments();
		for (EnvironmentVO eVo : envInfoList) {
			if (eVo.getK8sUrl() == null || eVo.getK8sCred() == null) {
				logger.info("The Kubernetes URL/Credentials are null for the Environment -" + eVo.getEnvironmentName());
				continue;
			}
			loadKubernetesApiDashboard(eVo);
		}
	}

	private  K8sAPIDashboardTask();

}