Class KubernetesResource


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

      • producerTemplate

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

      • KubernetesResource

        public KubernetesResource()
    • Method Detail

      • 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 javax.ws.rs.core.Response createPod​(@PathParam("namespace")
                                                   String namespace,
                                                   @PathParam("podName")
                                                   String podName)
                                            throws Exception
        Throws:
        Exception
      • deletePod

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