# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Error formats an API response to an error
apiMessage and code must match the container API, and are sent to client err is logged on the system running the podman service.
No description provided by the author
No description provided by the author
GetImages is a common function used to get images for libpod and other compatibility mechanisms.
GetName extracts the name from the mux.
No description provided by the author
No description provided by the author
No description provided by the author
IsLibpodRequest returns true if the request related to a libpod endpoint (e.g., /v2/libpod/...).
No description provided by the author
ParseDockerReference parses the specified image name to a `types.ImageReference` and enforces it to refer to a docker-transport reference.
ParseStorageReference parses the specified image name to a `types.ImageReference` and enforces it to refer to a containers-storage-transport reference.
No description provided by the author
No description provided by the author
SupportedVersion validates that the version provided by client is included in the given condition https://github.com/blang/semver#ranges provides the details for writing conditions If a version is not given in URL path, ErrVersionNotGiven is returned.
SupportedVersionWithDefaults validates that the version provided by client valid is supported by server minimal API version <= client path version <= maximum API version focused on the endpoint tree from URL.
UnsupportedParameter logs a given param by its string name as not supported.
No description provided by the author
No description provided by the author
No description provided by the author
WriteResponse encodes the given value as JSON or string and renders it for http client.
# Constants
CompatTree supports Libpod endpoints.
CurrentAPIVersion announces what is the current API level.
LibpodTree supports Libpod endpoints.
MinimalAPIVersion announces what is the oldest API level supported.
# Variables
APIVersion provides the current and minimal API versions for compat and libpod endpoint trees Note: GET|HEAD /_ping is never versioned and provides the API-Version and Libpod-API-Version headers to allow clients to shop for the Version they wish to support.
No description provided by the author
ErrVersionNotGiven returned when version not given by client.
ErrVersionNotSupported returned when given version is too old.