Class KubernetesResource

java.lang.Object
org.apache.camel.quarkus.component.kubernetes.it.KubernetesResource

@Path("/kubernetes") @ApplicationScoped public class KubernetesResource extends Object
  • Field Details

    • producerTemplate

      @Inject org.apache.camel.ProducerTemplate producerTemplate
  • Constructor Details

    • KubernetesResource

      public KubernetesResource()
  • Method Details

    • readPod

      @Path("/pod/{namespace}/{podName}") @GET @Produces("text/plain") public String readPod(@PathParam("namespace") String namespace, @PathParam("podName") String podName)
    • createPod

      @Path("/pod/{namespace}/{podName}") @POST @Produces("text/plain") public jakarta.ws.rs.core.Response createPod(@PathParam("namespace") String namespace, @PathParam("podName") String podName) throws Exception
      Throws:
      Exception
    • deletePod

      @Path("/pod/{namespace}/{podName}") @DELETE public jakarta.ws.rs.core.Response deletePod(@PathParam("namespace") String namespace, @PathParam("podName") String podName)