This also includes a new `login` command. The signing and CI logic is now using the Driver trait system along with a new experimental sigstore signing driver. New static macros have also been created to make implementation management easier for `Command` usage and `Driver` trait implementation calls. --------- Co-authored-by: xyny <60004820+xynydev@users.noreply.github.com>
12 lines
276 B
Rust
12 lines
276 B
Rust
use std::borrow::Cow;
|
|
|
|
use typed_builder::TypedBuilder;
|
|
|
|
#[derive(Debug, Clone, TypedBuilder)]
|
|
pub struct GetMetadataOpts<'a> {
|
|
#[builder(setter(into))]
|
|
pub image: Cow<'a, str>,
|
|
|
|
#[builder(default, setter(into, strip_option))]
|
|
pub tag: Option<Cow<'a, str>>,
|
|
}
|