public class OpenshiftHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_API_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static io.fabric8.openshift.client.OpenShiftClient |
asOpenShiftClient(io.fabric8.kubernetes.client.KubernetesClient client) |
static io.fabric8.openshift.api.model.Template |
combineTemplates(io.fabric8.openshift.api.model.Template firstTemplate,
io.fabric8.openshift.api.model.Template template) |
static boolean |
isCancelled(String status) |
static boolean |
isCompleted(String status) |
static boolean |
isFailed(String status) |
static boolean |
isFinished(String status) |
static boolean |
isOpenShift(io.fabric8.kubernetes.client.KubernetesClient client) |
static boolean |
isOpenShiftClient(io.fabric8.kubernetes.client.KubernetesClient kubernetes) |
static io.fabric8.kubernetes.api.model.KubernetesList |
processTemplatesLocally(io.fabric8.openshift.api.model.Template entity,
boolean failOnMissingParameterValue) |
public static final String DEFAULT_API_VERSION
public static io.fabric8.openshift.client.OpenShiftClient asOpenShiftClient(io.fabric8.kubernetes.client.KubernetesClient client)
public static boolean isOpenShift(io.fabric8.kubernetes.client.KubernetesClient client)
public static io.fabric8.kubernetes.api.model.KubernetesList processTemplatesLocally(io.fabric8.openshift.api.model.Template entity,
boolean failOnMissingParameterValue)
throws IOException
IOExceptionpublic static boolean isCancelled(String status)
public static boolean isFailed(String status)
public static boolean isCompleted(String status)
public static boolean isFinished(String status)
public static io.fabric8.openshift.api.model.Template combineTemplates(io.fabric8.openshift.api.model.Template firstTemplate,
io.fabric8.openshift.api.model.Template template)
public static boolean isOpenShiftClient(io.fabric8.kubernetes.client.KubernetesClient kubernetes)
Copyright © 2023. All rights reserved.