Skip to main content

Crate podup

Crate podup 

Source
Expand description

podup — docker-compose → Podman translator library.

Provides parsing, variable substitution, topological ordering, and an async engine that drives container lifecycle via Podman’s native libpod REST API over a Unix socket or Windows named pipe.

Re-exports§

pub use compose::parse_file;
pub use compose::parse_str;
pub use compose::parse_str_raw;
pub use compose::resolve_order;

Modules§

compose
Compose file parsing, extends: resolution, include: merging, and topological service ordering.
env_file
env_file: loading for services.
podman
Podman socket connection helpers.
ports
Port mapping parser.
size
Memory and CPU value parsers shared by the engine and tests.
substitute
Docker Compose variable substitution.

Structs§

Client
Podman libpod REST API client.
Engine
Handle through which all Podman operations for a project are dispatched.
ProjectLock
Guard holding a held project lock. Dropping it releases the lock (the OS drops the flock when the underlying file descriptor is closed).
RunOptions
Options for Engine::run.

Enums§

ComposeError
All errors produced by podup.

Type Aliases§

Result
Convenience alias for std::result::Result<T, ComposeError>.