Expand description
Service-level container lifecycle management
Structs§
- Container
Info - Per-container summary surfaced to callers (API /
ps). - Deployment
Container View - A live deployment container enriched for Docker-compat
psrows and for name resolution. Produced byServiceManager::list_container_views. - Service
Instance - Service instance manages a single service’s containers
- Service
Manager - Service manager for multiple services
- Service
Manager Builder - Builder for constructing a
ServiceManagerwith optional subsystems.
Functions§
- swarm_
id_ of - The swarm identity of a service spec, if it is a member of an inference
swarm:
spec.resources.gpu.sharding.swarm_id.Nonefor ordinary services. - swarm_
member_ replicas - Desired replica count for a single swarm member. Swarm members are
single-unit ring stages / coordinators, so the gang treats each as one
replica; we still honor an explicit
Fixed/Adaptiveintent (defaulting to
Type Aliases§
- Registry
Credential Store Handle - Shared handle to the daemon’s registry-credential store, used by the
supervisor to resolve
zlayer logincredentials (and the~/.docker/config.jsonfallback) for a service’s image when recreating a container outside the API create handler (restore / drift / scale). Matches the concrete type wired into the API state inserve.rs.