## Tasks - [x] Add ctrl-c handler to kill spawned children - [x] add more args to support all variables - [x] Add integration test
12 lines
292 B
Rust
12 lines
292 B
Rust
use std::borrow::Cow;
|
|
|
|
use oci_distribution::Reference;
|
|
use typed_builder::TypedBuilder;
|
|
|
|
#[derive(Debug, Clone, TypedBuilder)]
|
|
pub struct GenerateTagsOpts<'scope> {
|
|
pub oci_ref: &'scope Reference,
|
|
|
|
#[builder(default, setter(into))]
|
|
pub alt_tags: Option<Vec<Cow<'scope, str>>>,
|
|
}
|