Packages

The Engine API is an HTTP API served by Docker Engine. It is the API the Docker client uses to communicate with the Engine, so everything the Docker client can do can be done with the API.

Current section

Files

Jump to
ex_docker_engine_api lib docker_engine_api model commit.ex
Raw

lib/docker_engine_api/model/commit.ex

# NOTE: This file is auto generated by OpenAPI Generator 7.0.1 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule DockerEngineAPI.Model.Commit do
@moduledoc """
Commit holds the Git-commit (SHA1) that a binary was built from, as reported in the version-string of external tools, such as `containerd`, or `runC`.
"""
@derive Jason.Encoder
defstruct [
:ID,
:Expected
]
@type t :: %__MODULE__{
:ID => String.t | nil,
:Expected => String.t | nil
}
def decode(value) do
value
end
end