View Source DockerAPI.Connection (DockerAPI v0.4.0)
Link to this section Summary
Link to this section Types
@type endpoint() :: String.t()
@type identity_token() :: String.t()
@type path() :: String.t()
@type t() :: %DockerAPI.Connection{ endpoint: endpoint(), identity_token: identity_token() | nil, unix_socket: unix_socket() | nil }
@type unix_socket() :: String.t()
Link to this section Functions
@spec build_request( method :: Finch.Request.method(), conn :: t(), path :: path(), params :: params(), headers :: headers(), body :: body() ) :: Finch.Request.t()
Link to this function
new(endpoint \\ "http://localhost/", unix_socket \\ "/var/run/docker.sock", identity_token \\ nil)
View Source@spec new( endpoint :: endpoint(), unix_socket :: unix_socket(), identity_token :: identity_token() ) :: t()