Package io.quarkus.kubernetes.deployment
Class KubernetesDeploy
- java.lang.Object
-
- io.quarkus.kubernetes.deployment.KubernetesDeploy
-
public class KubernetesDeploy extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static KubernetesDeployINSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheck(io.quarkus.kubernetes.client.spi.KubernetesClientBuildItem clientBuilder)booleancheckSilently(io.quarkus.kubernetes.client.spi.KubernetesClientBuildItem clientBuilder)
-
-
-
Field Detail
-
INSTANCE
public static KubernetesDeploy INSTANCE
-
-
Method Detail
-
check
public boolean check(io.quarkus.kubernetes.client.spi.KubernetesClientBuildItem clientBuilder)
- Returns:
trueif @{code quarkus.kubernetes.deploy=true} AND the target Kubernetes API server is reachable,falseotherwise- Throws:
RuntimeException- if there was an error while communicating with the Kubernetes API server
-
checkSilently
public boolean checkSilently(io.quarkus.kubernetes.client.spi.KubernetesClientBuildItem clientBuilder)
- Returns:
trueif @{code quarkus.kubernetes.deploy=true} AND the target Kubernetes API server is reachablefalseotherwise or if there was an error while communicating with the Kubernetes API server
-
-