package
4.1.2
Repository: https://github.com/hanks177/podman.git
Documentation: pkg.go.dev

# Functions

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
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/...).
IsRegistryReference checks if the specified name points to the "docker://" transport.
MarshalErrorJSON writes error to stream as string.
No description provided by the author
MarshalErrorSliceJSON writes []error to stream as []string JSON blob.
No description provided by the author
No description provided by the author
NormalizeToDockerHub normalizes the specified nameOrID to Docker Hub if the request is for the compat API and if containers.conf set the specific mode.
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
PossiblyEnforceDockerHub sets fields in the system context to enforce resolving short names to Docker Hub if the request is for the compat API and if containers.conf set the specific mode.
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
WriteJSON writes an interface value encoded as JSON to w.
WriteResponse encodes the given value as JSON or string and renders it for http client.

# Variables

No description provided by the author
ErrVersionNotGiven returned when version not given by client.
ErrVersionNotSupported returned when given version is too old.