Adds support for using `bootc` as the preferred method for booting from a locally created image. This new method gets rid of the need to create a tarball and move it to the correct place and instead it will make use of `podman scp` which copies the image to the root `containers-storage` and then has `rpm-ostree` and `bootc` boot from that store. Closes #418 Closes #200
21 lines
508 B
Rust
21 lines
508 B
Rust
use bon::Builder;
|
|
use oci_distribution::Reference;
|
|
|
|
use crate::drivers::types::Platform;
|
|
|
|
#[derive(Debug, Clone, Copy, Builder)]
|
|
pub struct GenerateTagsOpts<'scope> {
|
|
pub oci_ref: &'scope Reference,
|
|
|
|
#[builder(into)]
|
|
pub alt_tags: Option<&'scope [String]>,
|
|
|
|
pub platform: Option<Platform>,
|
|
}
|
|
|
|
#[derive(Debug, Clone, Copy, Builder)]
|
|
pub struct GenerateImageNameOpts<'scope> {
|
|
pub name: &'scope str,
|
|
pub registry: Option<&'scope str>,
|
|
pub registry_namespace: Option<&'scope str>,
|
|
}
|