Class NoQuarkusTestKubernetesClient
- java.lang.Object
-
- io.quarkus.kubernetes.client.deployment.NoQuarkusTestKubernetesClient
-
- All Implemented Interfaces:
BooleanSupplier
class NoQuarkusTestKubernetesClient extends Object implements BooleanSupplier
Boolean supplier that returns true if quarkus-test-kubernetes-client is not present in the application pom.xml. quarkus-test-kubernetes-client provide a Kubernetes client configuration to connect to a Kubernetes mock server and will have precedence over the configuration provided by Dev Services for Kubernetes. DevServicesKubernetesProcessor uses this BooleanSupplier to avoid starting a Kubernetes test container in such a case.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static BooleanIO_QUARKUS_TEST_KUBERNETES_CLIENT_AVAILABLE(package private) static StringIO_QUARKUS_TEST_KUBERNETES_CLIENT_PACKAGE
-
Constructor Summary
Constructors Constructor Description NoQuarkusTestKubernetesClient()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAsBoolean()
-
-
-
Field Detail
-
IO_QUARKUS_TEST_KUBERNETES_CLIENT_PACKAGE
static final String IO_QUARKUS_TEST_KUBERNETES_CLIENT_PACKAGE
- See Also:
- Constant Field Values
-
IO_QUARKUS_TEST_KUBERNETES_CLIENT_AVAILABLE
static final Boolean IO_QUARKUS_TEST_KUBERNETES_CLIENT_AVAILABLE
-
-
Method Detail
-
getAsBoolean
public boolean getAsBoolean()
- Specified by:
getAsBooleanin interfaceBooleanSupplier
-
-