Crate shiplift [] [src]

Shiplift is a multi-transport utility for maneuvering docker containers

examples

extern crate shiplift;

let docker = shiplift::Docker::new();
let images = docker.images().list(&Default::default()).unwrap();
println!("docker images in stock");
for i in images {
  println!("{:?}", i.RepoTags);
}

Reexports

pub use errors::Error;
pub use builder::BuildOptions;
pub use builder::ContainerOptions;
pub use builder::ContainerListOptions;
pub use builder::ContainerFilter;
pub use builder::EventsOptions;
pub use builder::ImageFilter;
pub use builder::ImageListOptions;
pub use builder::LogsOptions;
pub use builder::PullOptions;
pub use builder::RmContainerOptions;

Modules

builder

Interfaces for building various structures

errors

Representations of various client errors

rep

Rust representations of docker json structures

transport

Transports for communicating with the docker daemon

Structs

Container

Interface for accessing and manipulating a docker container

Containers

Interface for docker containers

Docker

Entrypoint interface for communicating with docker daemon

Image

Interface for accessing and manipulating a named docker image

Images

Interface for docker images

Type Definitions

Result

Represents the result of all docker operations