Package io.quarkus.kubernetes.deployment
Class KubernetesConfigUtil
- java.lang.Object
-
- io.quarkus.kubernetes.deployment.KubernetesConfigUtil
-
public class KubernetesConfigUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description KubernetesConfigUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>getConfiguratedDeploymentTargets()The the configured deployment target list.static Optional<String>getConfiguredDeploymentTarget()Get the user configured deployment target, if any.static Optional<String>getExplicitlyConfiguredDeploymentTarget()Get the explicit configured deployment target, if any.static List<String>getExplictilyDeploymentTargets()The the explicitly configured deployment target list.static booleanisDeploymentEnabled()static Map<String,Object>toMap(PlatformConfiguration... platformConfigurations)
-
-
-
Method Detail
-
getExplicitlyConfiguredDeploymentTarget
public static Optional<String> getExplicitlyConfiguredDeploymentTarget()
Get the explicit configured deployment target, if any. The explicit deployment target is determined using: `quarkus.kubernetes.deployment-target=`
-
getExplictilyDeploymentTargets
public static List<String> getExplictilyDeploymentTargets()
The the explicitly configured deployment target list. The configured deployment targets are determined using: `quarkus.kubernetes.deployment-target=`
-
getConfiguredDeploymentTarget
public static Optional<String> getConfiguredDeploymentTarget()
Get the user configured deployment target, if any. The configured deployment target is determined using: 1. the value of `quarkus.kubernetes.deployment-target=` 2. the presenve of `quarkus. .deploy=true`
-
getConfiguratedDeploymentTargets
public static List<String> getConfiguratedDeploymentTargets()
The the configured deployment target list. The configured deployment targets are determined using: 1. the value of `quarkus.kubernetes.deployment-target=` 2. the presenve of `quarkus. .deploy=true`
-
isDeploymentEnabled
public static boolean isDeploymentEnabled()
- Returns:
- true if deployment is explicitly enabled using: `quarkus.
.deploy=true`.
-
toMap
public static Map<String,Object> toMap(PlatformConfiguration... platformConfigurations)
-
-