particle-os-cli/process/drivers/opts/ci.rs
2024-09-21 18:42:28 -04:00

24 lines
529 B
Rust

use std::borrow::Cow;
use bon::Builder;
use oci_distribution::Reference;
#[derive(Debug, Clone, Builder)]
pub struct GenerateTagsOpts<'scope> {
pub oci_ref: &'scope Reference,
#[builder(into)]
pub alt_tags: Option<Vec<Cow<'scope, str>>>,
}
#[derive(Debug, Clone, Builder)]
pub struct GenerateImageNameOpts<'scope> {
#[builder(into)]
pub name: Cow<'scope, str>,
#[builder(into)]
pub registry: Option<Cow<'scope, str>>,
#[builder(into)]
pub registry_namespace: Option<Cow<'scope, str>>,
}