Expand description
Raw container lifecycle API DTOs.
Wire-format types shared between the daemon’s /api/v1/containers
endpoints and SDK clients. Moved out of zlayer-api so SDK crates can
depend on them without pulling in the full server stack.
Structs§
- Container
Exec Request - Exec request for running a command in a container
- Container
Exec Response - Exec response with command output
- Container
Health Info - Runtime-native health snapshot on
ContainerInfo::health. - Container
Info - Container information returned by the API
- Container
LogQuery - Query parameters for container logs
- Container
Resource Limits - Resource limits for a container
- Container
Stats Response - Container resource statistics
- Container
Wait Response - Wait response with container exit code plus optional classification fields (added in §3.12 of the SDK-fixes spec).
- Create
Container Request - Request to create and start a container
- Exec
Query - Query parameters for the exec endpoint.
- Health
Check Request - Container health check request.
- Kill
Container Request - Request body for killing (sending a signal to) a container. Matches the
Docker-compat
POST /containers/{id}/killshape. - List
Containers Query - Query parameters for listing containers
- Network
Attachment Info - Per-network attachment entry on
ContainerInfo::networks. - Network
Attachment Request - A request to attach a freshly-created container to a user-defined bridge
or overlay network, mirroring the wire-shape used by
POST /api/v1/container-networks/{id_or_name}/connect. - Restart
Container Request - Request body for restarting a container. Matches the Docker-compat
POST /containers/{id}/restartshape. - Stats
Query - Query parameters for container stats.
- Stop
Container Request - Request body for stopping a container. Matches the Docker-compat
POST /containers/{id}/stopshape. - Volume
Mount - Volume mount specification.
Enums§
- Volume
Mount Type - Volume mount kind discriminator.