Expand description
Β§Write deployments merging image with configmap
Create a merged filesystem tree with the image and mounted configmaps.
StructsΒ§
- Image
State π - State of a locally fetched image
- Layer
Progress πConfig - Configuration for layer progress printing
- Prepared
Import πMeta - Required
Host πSpec - Variant of HostSpec but required to be filled out
EnumsΒ§
- Merge
State π - The source of data for staging a new deployment
- Prepared
Pull πResult
ConstantsΒ§
- BASE_
IMAGE_ πPREFIX - BOOTC_
DERIVED_ πKEY - Set on an ostree commit if this is a derived commit
FunctionsΒ§
- check_
bootc_ πlabel - check_
disk_ πspace_ composefs - Verify there is sufficient disk space to pull an image into the composefs store
for the native composefs backend (uses a raw
ImageManifest). - check_
disk_ πspace_ inner - Core disk space check: verify that
bytes_to_fetchfits within available space, leaving at leastmin_freebytes reserved. - check_
disk_ πspace_ ostree - Verify there is sufficient disk space to pull an image into the ostree repo. Respects the repositoryβs configured min-free-space threshold.
- check_
disk_ πspace_ unified - Verify there is sufficient disk space to pull an image into the composefs store
via the ostree unified-storage path (uses
PreparedImportMeta). - cleanup π
- deploy π
- descriptor_
of_ πprogress - find_
newest_ πdeployment_ name - fixup_
etc_ πfstab - A workaround for https://github.com/ostreedev/ostree/issues/3193 as generated by anaconda.
- get_
base_ πcommit - If commit is a bootc-derived commit (e.g. has configmaps), return its base.
- handle_
layer_ πprogress_ print - Write container fetch progress to standard output.
- image_
exists_ πin_ unified_ storage - Check whether the image exists in bootcβs unified container storage.
- new_
importer π - Wrapper for pulling a container image, wiring up status output.
- new_
importer_ πwith_ config - Wrapper for pulling a container image with a custom proxy config (e.g. for unified storage).
- new_
proxy_ πconfig - Create an ImageProxyConfig with bootcβs user agent prefix set.
- origin_
from_ πimageref - prefix_
of_ πprogress - prepare_
for_ πpull - prepare_
for_ πpull_ unified - Unified approach: Use bootcβs CStorage to pull the image, then prepare from containers-storage. This reuses the same infrastructure as LBIs.
- prune_
container_ πstore - Gather all bound images in all deployments, then prune the image store, using the gathered images as the roots (that will not be GCβd).
- pull π
- Wrapper for pulling a container image, wiring up status output.
- pull_
from_ πprepared - pull_
unified π - Unified pull: Use podman to pull to containers-storage, then read from there
- rollback π
- Implementation of rollback functionality
- stage π
- Stage (queue deployment of) a fetched container image.
- switch_
origin_ πinplace - wipe_
ostree π - write_
reboot_ πrequired - Update the /run/reboot-required file with the image that will be active after a reboot.