summaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2021-07-10Merge pull request #304 from matthiasbeyer/container-detailsMatthias Beyer
Container details
2021-07-10Merge pull request #306 from matthiasbeyer/image-pull-chunkedMatthias Beyer
Image pull chunked
2021-07-10Add missing fields to ContainerDetailswojciechkepka
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-07-10Fix units on ContainerInfowojciechkepka
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-07-10Rename Config -> ContainerConfigwojciechkepka
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-07-10Merge pull request #305 from matthiasbeyer/add-latest-tagMatthias Beyer
Add `latest` tag by default to `PullOptionsBuilder`
2021-07-10Merge pull request #300 from matthiasbeyer/fix-unwrapMatthias Beyer
Fix unwrap: Return error instead of crashing
2021-07-05Use ImageBuildChunk in endpointswojciechkepka
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-07-05Add ImageBuildChunkwojciechkepka
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-07-05Add `latest` tag by default to `PullOptionsBuilder`wojciechkepka
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-06-21Added name filter to list containersRakshith Ravi
2021-06-18Merge pull request #280 from jpommerening/fix-multiple-container-filtersMatthias Beyer
Allow multiple filters of same type and fix ExitCode filter name
2021-06-18Use .or_insert_with to avoid creating unnecessary VecsJonas Pommerening
2021-06-18Simplify if-else-block with HashMap::entry()Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-06-16Merge pull request #298 from moritzheiber/masterMatthias Beyer
Added volume driver support
2021-06-16Merge pull request #281 from jpommerening/fix-networks-list-typeMatthias Beyer
Fix incorrect return type of Networks::list
2021-06-16Fix unwrap: Return error instead of crashingMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-06-11Fix markup of doc commentMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-06-11Make Api Reference links not show full URL in docMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-06-07Added volume driver supportMoritz Heiber
2021-04-27Display error message for `Error::Fault` (#292)Clemens Winter
2021-04-12Fix incorrect return type of Networks::listJonas Pommerening
Moved and renamed NetworkInfo nee rep::Network to container::NetworkStats
2021-04-12Allow multiple filters of same type and fix ExitCode filter nameJonas Pommerening
2021-04-09Fix clippy: Allow upper case acronym hereMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-04-09Merge pull request #279 from wojciechkepka/docsMatthias Beyer
Add Docker API reference hyperlinks to doc comments
2021-04-09Merge pull request #284 from wojciechkepka/fix_clippyMatthias Beyer
Fix clippy lints
2021-04-07Allow uppercase acronyms for Error::IOWojciech Kępka
2021-04-07Rename `IPAM` to `Ipam`Wojciech Kępka
2021-03-11Add missing fields to NetworkEntrywojciechkepka
2021-03-11Add Docker API reference hyperlinks to doc commentswojciechkepka
2021-03-08Split up rep.rsEli W. Hunter
2021-03-08Split up builder.rsEli W. Hunter
2021-03-08Split up lib.rsEli W. Hunter
2021-03-08Merge pull request #273 from matthiasbeyer/fix-docMatthias Beyer
Fix: Dot should be in quotes
2021-03-08Merge pull request #277 from matthiasbeyer/add-safe-containers-getMatthias Beyer
Add Containers::get_checked() for getting an existing container
2021-03-08Add Containers::get_checked() for getting an existing containerMatthias Beyer
Containers::get() does always return a handle to a container, which might be invalid. This function checks whether the container exists before returning either a Some(Container) or None. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-06Add warning to Containers::get() methodMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-02-22Fix: Dot should be in quotesMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2021-02-21Add missing fields to `ImageDetails` and `History` (#264)Abc Xyz
* Add missing fields to `ImageDetails` and `History` * Make some fields in `ContainerConfig` required
2021-02-21Fix `entrypoint` field in ContainerOptions (#269)Wojciech Kępka
* Fix `entrypoint` field in ContainerOptions * Update CHANGELOG Co-authored-by: Doug Tangren <d.tangren@gmail.com>
2021-02-20Fix lifetimes (#272)Eli W. Hunter
* Some changes * Clarify lifetimes in transport.rs * Fix remaining easy lifetimes in lib.rs * Refactor Images::build for new lifetimes to work * Fix Exec::start() * Fix Container::exec() * Make header_bytes not a Vec * Make Docker::{images,...}() lifetimes explicit * Fix Containers::get() * Remove unnecessary locals from examples * Update changelog * Appease clippy
2021-02-08Add services api (#263)Wojciech Kępka
* Add initial Services models * Add initial Services controllers * Add ServicesListOptions * Rename ServicesList -> ServiceList * Fix some optional fields on ServiceRep * Add Service::inspect * Add Service::delete * Add Service::logs * Rename example logs -> containerlogs * Add ServiceOptions, ServiceCreateInfo, fix typo * Add a way to pass headers to request, add Payload and Headers for easier types * Add Service::create * Add examples * Fix fmt * Fix example
2021-02-06Simplify api, get rid of unnecessary lifetimes (#252)Wojciech Kępka
* Get rid of explicit lifetimes * more lifetimes ellided * Fix examples * Minor fix
2021-02-06Add Exec struct for easier manipulation of exec instances (#251)Wojciech Kępka
* Add ExecDetails and ProcessConfig * Add exec_with_id, exec_inspect * Add example how to inspect an exec instance * Make clippy happy * exit_code is an Option on ExecDetails * Add Exec struct * Update example * Fix typo * Add Exec::resize and ExecResizeOptions * Add resize example
2021-02-06Image::import argument tarball is now generic (#253)Wojciech Kępka
2021-01-23Add Stop{Signal,Timeout} to ContainerOptionsBuilder (#248)Eli W. Hunter
2021-01-15Upgrade all dependencies (#246)maowtm
* Upgrade dependencies and add required features * Special case for parsing unix:// url in Docker::new hyper::Uri doesn't allow urls with empty authority, hence parsing unix:///var/run/docker.sock will fail. * Remove empty /lib.rs * Fix cargo fmt
2021-01-12Fix X-Registry-Auth header (#245)Valentine Valyaeff
2021-01-10update gh actions ci and fix ci lint errors (#244)Doug Tangren
* update gh actions ci and fix ci lint errors * trigger also on master for now
2021-01-09Allow `Image::pull` to handle chunks with multiple JSON values (#240)Tom Fay
* add fn for stream post that returns json values use when pulling docker images, to fix bug where shiplift would error if multiple JSON values were returned in a single HTTP chunk * fix unnecessary lazy evaluation * add comments to stream post requests