dockerex v0.1.0 Dockerex.Client

Summary

Functions

Send a GET request to the Docker API at the speicifed resource

Send a POST request to the Docker API, JSONifying the passed in data

Functions

delete(resource, headers \\ %{"Content-Type" => "application/json"}, opt \\ [])

Send a DELETE request to the Docker API.

get(resource, headers \\ %{"Content-Type" => "application/json"}, opt \\ [])

Send a GET request to the Docker API at the speicifed resource.

post(resource, data \\ "", headers \\ %{"Content-Type" => "application/json"}, opt \\ [])

Send a POST request to the Docker API, JSONifying the passed in data.