pub async fn encapsulate<S: AsRef<str>>(
repo: &Repo,
ostree_ref: S,
config: &Config,
opts: Option<ExportOpts<'_, '_>>,
dest: &ImageReference,
) -> Result<Digest>Expand description
Given an OSTree repository and ref, generate a container image.
The returned ImageReference will contain a digested (e.g. @sha256:) version of the destination.