@Path(value="/kubernetes") @ApplicationScoped public class KubernetesResource extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) org.apache.camel.ProducerTemplate |
producerTemplate |
| Constructor and Description |
|---|
KubernetesResource() |
@Path(value="/pod/{namespace}/{podName}")
@GET
@Produces(value="text/plain")
public String readPod(@PathParam(value="namespace")
String namespace,
@PathParam(value="podName")
String podName)
@Path(value="/pod/{namespace}/{podName}")
@POST
@Produces(value="text/plain")
public javax.ws.rs.core.Response createPod(@PathParam(value="namespace")
String namespace,
@PathParam(value="podName")
String podName)
throws Exception
ExceptionCopyright © 2019–2020 The Apache Software Foundation. All rights reserved.