View Source DockerAPI.Endpoints.Distribution (DockerAPI v0.4.0)
Distribution
official-document
Official document
Link to this section Summary
Link to this section Types
@type id() :: String.t()
@type t() :: %DockerAPI.Endpoints.Distribution{ connection: DockerAPI.Connection.t(), id: id() }
Link to this section Functions
@spec bang!(:ok) :: :ok
@spec bang!({:ok, term()}) :: term()
@spec bang!({:error, DockerAPI.Error.t()}) :: no_return()
@spec handle_json_response({:ok, binary()}) :: {:ok, term()}
@spec handle_json_response({:error, DockerAPI.Error.t()}) :: {:error, DockerAPI.Error.t()}
@spec handle_no_response({:ok, term()}) :: :ok
@spec handle_no_response({:error, DockerAPI.Error.t()}) :: {:error, DockerAPI.Error.t()}
@spec inspect!( image :: DockerAPI.Endpoints.Image.t(), params :: DockerAPI.Connection.params(), headers :: DockerAPI.Connection.headers() ) :: term()
@spec inspect( image :: DockerAPI.Endpoints.Image.t(), params :: DockerAPI.Connection.params(), headers :: DockerAPI.Connection.headers() ) :: {:ok, term()} | {:error, DockerAPI.Error.t()}
Get image information from the registry
official-document
Official document
https://docs.docker.com/engine/api/v1.41/#tag/Distribution
example
Example
Please help!