@Path(value="osapi/v1beta1")
@Produces(value="application/json")
@Consumes(value="application/json")
public interface KubernetesExtensions
@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") BuildList getBuilds(@QueryParam(value="namespace") String namespace)
@POST @Path(value="builds") String createBuild(Build entity) throws Exception
Exception@GET
@Path(value="builds/{name}")
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,
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") BuildConfigList getBuildConfigs(@QueryParam(value="namespace") String namespace)
@POST @Path(value="buildConfigs") String createBuildConfig(BuildConfig entity) throws Exception
Exception@GET
@Path(value="buildConfigs/{name}")
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,
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}")
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,
Object body)
@GET @Path(value="imageRepositories") ImageRepositoryList getImageRepositories(@QueryParam(value="namespace") String namespace)
@POST @Path(value="imageRepositories") String createImageRepository(ImageRepository entity) throws Exception
Exception@GET
@Path(value="imageRepositories/{name}")
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,
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") DeploymentConfigList getDeploymentConfigs(@QueryParam(value="namespace") String namespace)
@POST @Path(value="deploymentConfigs") String createDeploymentConfig(DeploymentConfig entity) throws Exception
Exception@GET
@Path(value="deploymentConfigs/{name}")
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,
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") RouteList getRoutes(@QueryParam(value="namespace") String namespace)
Copyright © 2011–2015 Red Hat. All rights reserved.