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ยง
- Container
Proxy ๐Opts - Options for container image fetching.
- Export
Opts ๐ - Options for exporting a tar archive.
- ImaSign
Opts ๐ - Options for the Integrity Measurement Architecture (IMA).
- Import
Opts ๐ - Options for importing a tar archive.
- ManOpts ๐
- Options for man page generation
- RawMeta
- Grouping of metadata about an object.
Enumsยง
- Container
Image ๐Opts - Options for import/export to tar archives.
- Container
Opts ๐ - Options for container import/export.
- Opt ๐
- Toplevel options for extended ostree functionality.
- Provisional
Repair ๐Opts - Options for deployment repair.
- TarOpts ๐
- Options for import/export to tar archives.
- Testing
Opts ๐ - 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
ImageReferencefrom a CLI argument. - parse_
imgref - Parse an
OstreeImageReferencefrom 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