def __init__(self, kube_config_file):
     self.kube_config_file = kube_config_file
     super(OcpHealthChecker, self).__init__(kube_config_file=self.kube_config_file)
     self.ocp_node = OcpNodes(kube_config_file=self.kube_config_file)
     self.ocp_cluster_operator = OcpClusterOperator(kube_config_file=self.kube_config_file)
     self.ocp_control_plane = OcpControlPlane(kube_config_file=self.kube_config_file)
     self.ocp_cluster_version = OcpClusterVersion(kube_config_file=self.kube_config_file)
     self.ocp_route = OcpRoutes(kube_config_file=self.kube_config_file)
     self.ocp_pod = OcpPods(kube_config_file=self.kube_config_file)
     self.ocp_deployment = OcpDeploymentconfigs(kind="Deployment", kube_config_file=self.kube_config_file)
     self.ocp_config = OcpConfig(kind="Config", api_version="imageregistry.operator.openshift.io/v1",
                                 kube_config_file=self.kube_config_file)
     self.ocp_secret = OcpSecret(kube_config_file=self.kube_config_file)
def ocp_control_plane(get_kubeconfig):
    kube_config_file = get_kubeconfig
    return OcpControlPlane(kube_config_file=kube_config_file)