Module cli

Module cli 

Source
Expand description

ยงCommandline parsing

While there is a separate ostree-ext-cli crate that can be installed and used directly, the CLI code is also exported as a library too, so that projects such as rpm-ostree can directly reuse it.

Structsยง

ContainerProxyOpts ๐Ÿ”’
Options for container image fetching.
ExportOpts ๐Ÿ”’
Options for exporting a tar archive.
ImaSignOpts ๐Ÿ”’
Options for the Integrity Measurement Architecture (IMA).
ImportOpts ๐Ÿ”’
Options for importing a tar archive.
ManOpts ๐Ÿ”’
Options for man page generation
RawMeta
Grouping of metadata about an object.

Enumsยง

ContainerImageOpts ๐Ÿ”’
Options for import/export to tar archives.
ContainerOpts ๐Ÿ”’
Options for container import/export.
Opt ๐Ÿ”’
Toplevel options for extended ostree functionality.
ProvisionalRepairOpts ๐Ÿ”’
Options for deployment repair.
TarOpts ๐Ÿ”’
Options for import/export to tar archives.
TestingOpts ๐Ÿ”’
Options for internal testing

Functionsยง

container_export ๐Ÿ”’
Export a container image with an encapsulated ostree commit.
container_history ๐Ÿ”’
Output the container image history
container_import ๐Ÿ”’
Import a container image with an encapsulated ostree commit.
container_info ๐Ÿ”’
Load metadata for a container image with an encapsulated ostree commit.
container_remount_sysroot ๐Ÿ”’
container_store ๐Ÿ”’
Write a layered container image into an OSTree commit.
handle_layer_progress_print
Write container fetch progress to standard output.
handle_serialize_to_file ๐Ÿ”’
ima_sign ๐Ÿ”’
Add IMA signatures to an ostree commit, generating a new commit.
layer_progress_format
Render an import progress notification as a string.
parse_base_imgref
Parse a base ImageReference from a CLI argument.
parse_imgref
Parse an OstreeImageReference from a CLI argument.
parse_repo
Parse an [ostree::Repo] from a CLI argument.
print_deprecated_warning
Write a deprecation notice, and sleep for 3 seconds.
print_layer_status
Write the status of layers to download.
run_from_iter
Parse the provided arguments and execute. Calls [clap::Error::exit] on failure, printing the error message and aborting the program.
run_from_opt ๐Ÿ”’
tar_export ๐Ÿ”’
Export a tar archive containing an ostree commit.
tar_import ๐Ÿ”’
Import a tar archive containing an ostree commit.
write_digest_file ๐Ÿ”’