@Path(value="osapi/v1beta3/namespaces/{namespace}")
@Produces(value="application/json")
@Consumes(value="application/json")
public interface KubernetesExtensions
| Modifier and Type | Method and Description | 
|---|---|
| String | createBuild(io.fabric8.openshift.api.model.Build entity,
           String namespace) | 
| String | createBuildConfig(io.fabric8.openshift.api.model.BuildConfig entity,
                 String namespace) | 
| String | createDeploymentConfig(io.fabric8.openshift.api.model.DeploymentConfig entity,
                      String namespace) | 
| String | createImageStream(io.fabric8.openshift.api.model.ImageStream entity,
                 String namespace) | 
| String | createRoute(io.fabric8.openshift.api.model.Route entity,
           String namespace) | 
| String | createTemplate(io.fabric8.openshift.api.model.template.Template entity,
              String namespace) | 
| String | deleteBuild(String name,
           String namespace) | 
| String | deleteBuildConfig(String name,
                 String namespace) | 
| String | deleteDeploymentConfig(String name,
                      String namespace) | 
| String | deleteImageStream(String name,
                 String namespace) | 
| String | deleteRoute(String name,
           String namespace) | 
| String | deleteTemplate(String name,
              String namespace) | 
| io.fabric8.openshift.api.model.Build | getBuild(String name,
        String namespace) | 
| io.fabric8.openshift.api.model.BuildConfig | getBuildConfig(String name,
              String namespace) | 
| io.fabric8.openshift.api.model.BuildConfigList | getBuildConfigs(String namespace) | 
| io.fabric8.openshift.api.model.BuildList | getBuilds(String namespace) | 
| io.fabric8.openshift.api.model.DeploymentConfig | getDeploymentConfig(String name,
                   String namespace) | 
| io.fabric8.openshift.api.model.DeploymentConfigList | getDeploymentConfigs(String namespace) | 
| io.fabric8.openshift.api.model.ImageStream | getImageStream(String name,
              String namespace) | 
| io.fabric8.openshift.api.model.ImageStreamList | getImageStreams(String namespace) | 
| io.fabric8.openshift.api.model.Route | getRoute(String name,
        String namespace) | 
| io.fabric8.openshift.api.model.RouteList | getRoutes(String namespace) | 
| io.fabric8.openshift.api.model.template.Template | getTemplate(String name,
           String namespace) | 
| String | processTemplate(io.fabric8.openshift.api.model.template.Template entity,
               String namespace) | 
| String | triggerBuild(String name,
            String namespace,
            String secret,
            String type,
            byte[] body) | 
| String | updateBuild(String name,
           io.fabric8.openshift.api.model.Build entity,
           String namespace) | 
| String | updateBuildConfig(String name,
                 io.fabric8.openshift.api.model.BuildConfig entity,
                 String namespace) | 
| String | updateDeploymentConfig(String name,
                      io.fabric8.openshift.api.model.DeploymentConfig entity,
                      String namespace) | 
| String | updateImageStream(String name,
                 io.fabric8.openshift.api.model.ImageStream entity,
                 String namespace) | 
| String | updateRoute(String name,
           io.fabric8.openshift.api.model.Route entity,
           String namespace) | 
| String | updateTemplate(String name,
              io.fabric8.openshift.api.model.template.Template entity,
              String namespace) | 
@POST @Path(value="processedtemplates") @Consumes(value="application/json") String processTemplate(io.fabric8.openshift.api.model.template.Template entity, @PathParam(value="namespace") String namespace) throws Exception
Exception@Path(value="templates") @POST @Consumes(value="application/json") String createTemplate(io.fabric8.openshift.api.model.template.Template entity, @PathParam(value="namespace") String namespace) throws Exception
Exception@GET
@Path(value="templates/{name}")
@Produces(value="application/json")
io.fabric8.openshift.api.model.template.Template getTemplate(@PathParam(value="name")@NotNull
                                                                             String name,
                                                                             @PathParam(value="namespace")
                                                                             String namespace)
@PUT
@Path(value="templates/{name}")
@Consumes(value="application/json")
String updateTemplate(@PathParam(value="name")@NotNull
                                      String name,
                                      io.fabric8.openshift.api.model.template.Template entity,
                                      @PathParam(value="namespace")
                                      String namespace)
                      throws Exception
Exception@DELETE
@Path(value="templates/{name}")
@Produces(value="application/json")
@Consumes(value="text/plain")
String deleteTemplate(@PathParam(value="name")@NotNull
                                                  String name,
                                                  @PathParam(value="namespace")
                                                  String namespace)
                      throws Exception
Exception@GET
@Path(value="routes")
io.fabric8.openshift.api.model.RouteList getRoutes(@PathParam(value="namespace")
                                                          String namespace)
@POST @Path(value="routes") String createRoute(io.fabric8.openshift.api.model.Route entity, @PathParam(value="namespace") String namespace) throws Exception
Exception@GET
@Path(value="routes/{name}")
io.fabric8.openshift.api.model.Route getRoute(@PathParam(value="name")@NotNull
                                                     String name,
                                                     @PathParam(value="namespace")
                                                     String namespace)
@PUT
@Path(value="routes/{name}")
@Consumes(value="application/json")
String updateRoute(@PathParam(value="name")@NotNull
                                   String name,
                                   io.fabric8.openshift.api.model.Route entity,
                                   @PathParam(value="namespace")
                                   String namespace)
                   throws Exception
Exception@DELETE
@Path(value="routes/{name}")
String deleteRoute(@PathParam(value="name")@NotNull
                             String name,
                             @PathParam(value="namespace")
                             String namespace)
@GET
@Path(value="builds")
io.fabric8.openshift.api.model.BuildList getBuilds(@PathParam(value="namespace")
                                                          String namespace)
@POST @Path(value="builds") String createBuild(io.fabric8.openshift.api.model.Build entity, @PathParam(value="namespace") String namespace) throws Exception
Exception@GET
@Path(value="builds/{name}")
io.fabric8.openshift.api.model.Build getBuild(@PathParam(value="name")@NotNull
                                                     String name,
                                                     @PathParam(value="namespace")
                                                     String namespace)
@PUT
@Path(value="builds/{name}")
@Consumes(value="application/json")
String updateBuild(@PathParam(value="name")@NotNull
                                   String name,
                                   io.fabric8.openshift.api.model.Build entity,
                                   @PathParam(value="namespace")
                                   String namespace)
                   throws Exception
Exception@DELETE
@Path(value="builds/{name}")
String deleteBuild(@PathParam(value="name")@NotNull
                             String name,
                             @PathParam(value="namespace")
                             String namespace)
@GET
@Path(value="buildconfigs")
io.fabric8.openshift.api.model.BuildConfigList getBuildConfigs(@PathParam(value="namespace")
                                                                      String namespace)
@POST @Path(value="buildconfigs") String createBuildConfig(io.fabric8.openshift.api.model.BuildConfig entity, @PathParam(value="namespace") String namespace) throws Exception
Exception@GET
@Path(value="buildconfigs/{name}")
io.fabric8.openshift.api.model.BuildConfig getBuildConfig(@PathParam(value="name")@NotNull
                                                                 String name,
                                                                 @PathParam(value="namespace")
                                                                 String namespace)
@PUT
@Path(value="buildconfigs/{name}")
@Consumes(value="application/json")
String updateBuildConfig(@PathParam(value="name")@NotNull
                                         String name,
                                         io.fabric8.openshift.api.model.BuildConfig entity,
                                         @PathParam(value="namespace")
                                         String namespace)
                         throws Exception
Exception@DELETE
@Path(value="buildconfigs/{name}")
String deleteBuildConfig(@PathParam(value="name")@NotNull
                                   String name,
                                   @PathParam(value="namespace")
                                   String namespace)
@POST
@Path(value="buildconfigHooks/{name}/{secret}/{type}")
@Produces(value="text/plain")
@Consumes(value="application/json")
String triggerBuild(@PathParam(value="name")@NotNull
                                              String name,
                                              @PathParam(value="namespace")
                                              String namespace,
                                              @PathParam(value="secret")@NotNull
                                              String secret,
                                              @PathParam(value="type")@NotNull
                                              String type,
                                              byte[] body)
@GET
@Path(value="imagestreams")
io.fabric8.openshift.api.model.ImageStreamList getImageStreams(@PathParam(value="namespace")
                                                                      String namespace)
@POST @Path(value="imagestreams") String createImageStream(io.fabric8.openshift.api.model.ImageStream entity, @PathParam(value="namespace") String namespace) throws Exception
Exception@GET
@Path(value="imagestreams/{name}")
io.fabric8.openshift.api.model.ImageStream getImageStream(@PathParam(value="name")@NotNull
                                                                 String name,
                                                                 @PathParam(value="namespace")
                                                                 String namespace)
@PUT
@Path(value="imagestreams/{name}")
@Consumes(value="application/json")
String updateImageStream(@PathParam(value="name")@NotNull
                                         String name,
                                         io.fabric8.openshift.api.model.ImageStream entity,
                                         @PathParam(value="namespace")
                                         String namespace)
                         throws Exception
Exception@DELETE
@Path(value="imagestreams/{name}")
String deleteImageStream(@PathParam(value="name")@NotNull
                                   String name,
                                   @PathParam(value="namespace")
                                   String namespace)
@GET
@Path(value="deploymentconfigs")
io.fabric8.openshift.api.model.DeploymentConfigList getDeploymentConfigs(@PathParam(value="namespace")
                                                                                String namespace)
@POST @Path(value="deploymentconfigs") String createDeploymentConfig(io.fabric8.openshift.api.model.DeploymentConfig entity, @PathParam(value="namespace") String namespace) throws Exception
Exception@GET
@Path(value="deploymentconfigs/{name}")
io.fabric8.openshift.api.model.DeploymentConfig getDeploymentConfig(@PathParam(value="name")@NotNull
                                                                           String name,
                                                                           @PathParam(value="namespace")
                                                                           String namespace)
@PUT
@Path(value="deploymentconfigs/{name}")
@Consumes(value="application/json")
String updateDeploymentConfig(@PathParam(value="name")@NotNull
                                              String name,
                                              io.fabric8.openshift.api.model.DeploymentConfig entity,
                                              @PathParam(value="namespace")
                                              String namespace)
                              throws Exception
ExceptionCopyright © 2011–2015 Red Hat. All rights reserved.