Crate ostree_ext

Crate ostree_ext 

Source
Expand description

ยงExtension APIs for ostree

This crate builds on top of the core ostree C library and the Rust bindings to it, adding new functionality written in Rust.

Re-exportsยง

pub use composefs;
pub use composefs_boot;
pub use composefs_oci;
pub use containers_image_proxy;
pub use containers_image_proxy::oci_spec;
pub use ostree;
pub use ostree::gio;
pub use ostree::gio::glib;

Modulesยง

bootabletree
Helper functions for bootable OSTrees.
chunking
Split an OSTree commit into separate chunks
cli
Commandline parsing
commit
This module contains the functions to implement the commit procedures as part of building an ostree container image. https://github.com/ostreedev/ostree-rs-ext/issues/159
container
APIs bridging OSTree and container images
container_utils
Helpers for interacting with containers at runtime.
diff
Compute the difference between two OSTree commits.
fsverity
Integration with fsverity
generic_decompress ๐Ÿ”’
This module primarily contains the Decompressor struct which is used to decompress a stream based on its OCI media type.
globals
Module containing access to global state.
ima
Write IMA signatures to an ostree commit
isolation ๐Ÿ”’
keyfileext
Helper methods for [glib::KeyFile].
logging ๐Ÿ”’
objectsource
Metadata about the source of an object: a component or package.
objgv ๐Ÿ”’
ostree_manual ๐Ÿ”’
Manual workarounds for ostree bugs
ostree_prepareroot
Logic related to parsing ostree-prepare-root.conf.
prelude
Prelude, intended for glob import.
refescape
Escape strings for use in ostree refs.
repo_options
Configuration options for an ostree repository
selinux
SELinux-related helper APIs.
statistics ๐Ÿ”’
This module holds implementations of some basic statistical properties, such as mean and standard deviation.
sysroot
Helpers for interacting with sysroots.
tar
Losslessly export and import ostree commits as tar archives
tokio_util
Helpers for bridging GLib async/mainloop with Tokio.
utils ๐Ÿ”’

Functionsยง

systemd_has_soft_reboot
Check if the system has the soft reboot target, which signals systemd support for soft reboots.

Type Aliasesยง

Result ๐Ÿ”’
Our generic catchall fatal error, expected to be converted to a string to output to a terminal or logs.