@Path(value="osapi/v1beta1")
@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 |
createBuildConfig(io.fabric8.openshift.api.model.BuildConfig entity) |
String |
createConfig(Object entity) |
String |
createDeploymentConfig(io.fabric8.openshift.api.model.DeploymentConfig entity) |
String |
createImageRepository(io.fabric8.openshift.api.model.ImageRepository entity) |
String |
createTemplate(Object entity) |
String |
createTemplateConfig(Object entity) |
String |
deleteBuild(String name,
String namespace) |
String |
deleteBuildConfig(String name,
String namespace) |
String |
deleteDeploymentConfig(String name,
String namespace) |
String |
deleteImageRepository(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.ImageRepositoryList |
getImageRepositories(String namespace) |
io.fabric8.openshift.api.model.ImageRepository |
getImageRepository(String name,
String namespace) |
io.fabric8.openshift.api.model.Route |
getRoute(String name,
String namespace) |
io.fabric8.openshift.api.model.RouteList |
getRoutes(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 |
updateImageRepository(String name,
io.fabric8.openshift.api.model.ImageRepository entity,
String namespace) |
@POST @Path(value="configs") @Consumes(value="application/json") String createConfig(Object entity) throws Exception
Exception
@POST @Path(value="templateConfigs") @Consumes(value="application/json") String createTemplateConfig(Object entity) throws Exception
Exception
@POST @Path(value="template") @Consumes(value="application/json") String createTemplate(Object entity) throws Exception
Exception
@GET @Path(value="builds") io.fabric8.openshift.api.model.BuildList getBuilds(@QueryParam(value="namespace") String namespace)
@POST @Path(value="builds") String createBuild(io.fabric8.openshift.api.model.Build entity) throws Exception
Exception
@GET @Path(value="builds/{name}") io.fabric8.openshift.api.model.Build getBuild(@PathParam(value="name")@NotNull String name, @QueryParam(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, @QueryParam(value="namespace") String namespace) throws Exception
Exception
@DELETE @Path(value="builds/{name}") String deleteBuild(@PathParam(value="name")@NotNull String name, @QueryParam(value="namespace") String namespace)
@GET @Path(value="buildConfigs") io.fabric8.openshift.api.model.BuildConfigList getBuildConfigs(@QueryParam(value="namespace") String namespace)
@POST @Path(value="buildConfigs") String createBuildConfig(io.fabric8.openshift.api.model.BuildConfig entity) throws Exception
Exception
@GET @Path(value="buildConfigs/{name}") io.fabric8.openshift.api.model.BuildConfig getBuildConfig(@PathParam(value="name")@NotNull String name, @QueryParam(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, @QueryParam(value="namespace") String namespace) throws Exception
Exception
@DELETE @Path(value="buildConfigs/{name}") String deleteBuildConfig(@PathParam(value="name")@NotNull String name, @QueryParam(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, @QueryParam(value="namespace") String namespace, @PathParam(value="secret")@NotNull String secret, @PathParam(value="type")@NotNull String type, byte[] body)
@GET @Path(value="imageRepositories") io.fabric8.openshift.api.model.ImageRepositoryList getImageRepositories(@QueryParam(value="namespace") String namespace)
@POST @Path(value="imageRepositories") String createImageRepository(io.fabric8.openshift.api.model.ImageRepository entity) throws Exception
Exception
@GET @Path(value="imageRepositories/{name}") io.fabric8.openshift.api.model.ImageRepository getImageRepository(@PathParam(value="name")@NotNull String name, @QueryParam(value="namespace") String namespace)
@PUT @Path(value="imageRepositories/{name}") @Consumes(value="application/json") String updateImageRepository(@PathParam(value="name")@NotNull String name, io.fabric8.openshift.api.model.ImageRepository entity, @QueryParam(value="namespace") String namespace) throws Exception
Exception
@DELETE @Path(value="imageRepositories/{name}") String deleteImageRepository(@PathParam(value="name")@NotNull String name, @QueryParam(value="namespace") String namespace)
@GET @Path(value="deploymentConfigs") io.fabric8.openshift.api.model.DeploymentConfigList getDeploymentConfigs(@QueryParam(value="namespace") String namespace)
@POST @Path(value="deploymentConfigs") String createDeploymentConfig(io.fabric8.openshift.api.model.DeploymentConfig entity) throws Exception
Exception
@GET @Path(value="deploymentConfigs/{name}") io.fabric8.openshift.api.model.DeploymentConfig getDeploymentConfig(@PathParam(value="name")@NotNull String name, @QueryParam(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, @QueryParam(value="namespace") String namespace) throws Exception
Exception
@DELETE @Path(value="deploymentConfigs/{name}") String deleteDeploymentConfig(@PathParam(value="name")@NotNull String name, @QueryParam(value="namespace") String namespace)
@GET @Path(value="routes") io.fabric8.openshift.api.model.RouteList getRoutes(@QueryParam(value="namespace") String namespace)
Copyright © 2011–2015 Red Hat. All rights reserved.