public interface MiscClient
| Modifier and Type | Method and Description |
|---|---|
Void |
auth() |
InputStream |
build(String repositoryNameAndTag,
boolean supressVerboseOutput,
boolean suppressCache,
InputStream content) |
IdResponse |
commit(String container,
String commitMessage,
String repository,
String tag,
String author,
String run) |
javax.ws.rs.core.Response |
events(Long since,
Long until)
Monitor Docker's events
|
byte[] |
getTarball(String name) |
Info |
info() |
String |
ping()
Ping the docker server.
|
Void |
postTarball(byte[] data) |
Version |
version() |
@POST @Path(value="/build") @Consumes(value="application/tar") @Produces(value="text/plain") InputStream build(@QueryParam(value="t") String repositoryNameAndTag, @QueryParam(value="q") boolean supressVerboseOutput, @QueryParam(value="nocache") boolean suppressCache, InputStream content)
@POST @Path(value="/auth") Void auth()
@GET @Path(value="/info") Info info()
@GET @Path(value="/version") Version version()
@POST @Path(value="/commit") IdResponse commit(@QueryParam(value="container") String container, @QueryParam(value="m") String commitMessage, @QueryParam(value="repo") String repository, @QueryParam(value="tag") String tag, @QueryParam(value="author") String author, @QueryParam(value="run") String run)
@GET
@Path(value="/events")
javax.ws.rs.core.Response events(@QueryParam(value="since")
Long since,
@QueryParam(value="since")
Long until)
since - timestamp used for pollinguntil - timestamp used for polling@GET
@Path(value="/images/{name}/list")
byte[] getTarball(@PathParam(value="name")
String name)
@POST @Path(value="/images/load") Void postTarball(byte[] data)
@GET @Path(value="/_ping") String ping()
Copyright © 2014. All rights reserved.