Expand description
Loading compose files: -f a.yaml -f b.yaml, interpolation, defaults.
Structs§
- Load
Options - How to load.
- Project
- A loaded, interpolated, merged compose project.
- Secret
Values - Secret values by top-level key. Debug output shows the keys only.
Constants§
- DEFAULT_
FILES - File names tried, in order, when no
-fis given. - OVERRIDE_
FILES - Override files merged over the default file when no
-fis given, like docker’scompose.override.yaml.
Functions§
- client_
for - A client for the project’s incus project (
incus_project:in the file), unlessclientwas already pointed elsewhere explicitly. - dependency_
order - Service names with every service after the ones it depends on (ties in name order). A cycle is an error.
- down
isb down: delete the selected sandboxes; withvolumes(and no service subset), also the file’s non-external named volumes, resolved to the poolsupused. In-use volumes are kept and reported.- find_
default - Find the default compose file in
dir, if any. - find_
override - Find the override file in
dir, if any. - load
- Load from disk using the process environment.
- load_
docs - Load from in-memory documents.
baseanchors relative paths and names the default project. - plan
isb plan: whatupwould change, per selected service.- sanitize_
name - Lowercase,
[a-z0-9-], squeezed, trimmed; starts with a letter. - up
isb up: ensure each selected service (all whenservicesis empty). Returns (service, report) pairs in order.- up_
handles up, also returning a handle on each sandbox (with its exec defaults), for running itscommand.- wait_
healthy - Probe a service until it passes, within its start period plus
retriesintervals (at least a minute).