Annotation Type WithKubernetesTestServer
-
@QuarkusTestResource(value=KubernetesServerTestResource.class, restrictToAnnotatedClass=true) @Retention(RUNTIME) @Target(TYPE) public @interface WithKubernetesTestServer
Use on your test resource to get a mockKubernetesServerspawn up, and injectable withKubernetesTestServer. This annotation is only active when used on a test class, and only for this test class.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleancrudStart it in CRUD modebooleanhttpsStart it with HTTPSintportPort to use, defaults to any available portClass<? extends Consumer<io.fabric8.kubernetes.client.server.mock.KubernetesServer>>setupSetup class to call after the mock server is created, for custom setup.
-