Class AbstractKubernetesTestResource<T,C extends io.fabric8.kubernetes.client.KubernetesClient>
java.lang.Object
io.quarkus.test.kubernetes.client.AbstractKubernetesTestResource<T,C>
- All Implemented Interfaces:
QuarkusTestResourceLifecycleManager
- Direct Known Subclasses:
KubernetesMockServerTestResource,KubernetesServerTestResource
public abstract class AbstractKubernetesTestResource<T,C extends io.fabric8.kubernetes.client.KubernetesClient>
extends Object
implements QuarkusTestResourceLifecycleManager
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
QuarkusTestResourceLifecycleManager.Context, QuarkusTestResourceLifecycleManager.TestInjector -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCan be used by subclasses in order to setup the mock server before the Quarkus application startsprotected abstract Tprotected abstract Cprotected abstract Class<?>protected abstract Class<? extends Annotation>protected voidvoidinject(QuarkusTestResourceLifecycleManager.TestInjector testInjector) start()protected booleanuseHttps()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
init, inject, order, setContext, stop
-
Field Details
-
server
-
-
Constructor Details
-
AbstractKubernetesTestResource
public AbstractKubernetesTestResource()
-
-
Method Details
-
start
- Specified by:
startin interfaceQuarkusTestResourceLifecycleManager
-
getClient
-
configureServer
protected void configureServer()Can be used by subclasses in order to setup the mock server before the Quarkus application starts -
initServer
protected void initServer() -
createServer
-
useHttps
protected boolean useHttps() -
inject
- Specified by:
injectin interfaceQuarkusTestResourceLifecycleManager
-
getInjectedClass
-
getInjectionAnnotation
-