Skip to main content

Module podman_client

Module podman_client 

Source
Expand description

Async podman client using the native libpod API.

Provides a high-level interface for pulling container images through podman’s native libpod HTTP API, enabling streaming per-blob byte-level progress display. The transient podman system service is started against bootc’s custom storage root and automatically torn down.

Structs§

ArtifactPullProgress 🔒
Per-blob download progress from podman’s native pull API.
ImagePullReport 🔒
A report object from podman’s native image pull endpoint.
PodmanClient 🔒
Manages a transient podman service, providing HTTP access to the native libpod API via a Unix socket.

Constants§

LIBPOD_API_VERSION 🔒
Podman libpod API version to use.
NON_DOCKER_TRANSPORTS 🔒
Non-docker container image transports known to containers/image.

Functions§

display_pull_progress 🔒
Read NDJSON lines from reader and display pull progress.
uses_non_docker_transport 🔒
Returns true if image uses a non-docker transport prefix.