pub struct MacOSNotarizeApiConfig {
pub issuer_id: Option<String>,
pub key: Option<String>,
pub key_id: Option<String>,
pub timeout: Option<HumanDuration>,
pub wait: Option<bool>,
}Expand description
App Store Connect API key configuration for rcodesign notary-submit.
Fields§
§issuer_id: Option<String>App Store Connect API key issuer UUID. Templates allowed.
key: Option<String>Path to .p8 key file or base64-encoded contents. Templates allowed.
key_id: Option<String>API key ID. Templates allowed.
timeout: Option<HumanDuration>Timeout for notarization status polling. Humantime-style string
(e.g. "10m", "15s", "1h"). Default when omitted: "10m".
wait: Option<bool>Whether to wait for notarization to complete.
Implementations§
Source§impl MacOSNotarizeApiConfig
impl MacOSNotarizeApiConfig
Sourcepub const DEFAULT_TIMEOUT: &'static str = "10m"
pub const DEFAULT_TIMEOUT: &'static str = "10m"
Default notarization wait window. Mirrors GoReleaser
internal/pipe/notary/macos.go (n.Notarize.Timeout = 10 * time.Minute).
Sourcepub fn resolved_wait(&self) -> bool
pub fn resolved_wait(&self) -> bool
Resolve wait, falling back to false (don’t block on notary).
Sourcepub fn resolved_timeout(&self) -> String
pub fn resolved_timeout(&self) -> String
Resolve timeout as a humantime string, falling back to
Self::DEFAULT_TIMEOUT. Returns an owned String because the
stored representation (HumanDuration) needs to be re-serialized
when materializing — there’s no zero-cost view into it.
Trait Implementations§
Source§impl Clone for MacOSNotarizeApiConfig
impl Clone for MacOSNotarizeApiConfig
Source§fn clone(&self) -> MacOSNotarizeApiConfig
fn clone(&self) -> MacOSNotarizeApiConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MacOSNotarizeApiConfig
impl Debug for MacOSNotarizeApiConfig
Source§impl Default for MacOSNotarizeApiConfig
impl Default for MacOSNotarizeApiConfig
Source§fn default() -> MacOSNotarizeApiConfig
fn default() -> MacOSNotarizeApiConfig
Source§impl<'de> Deserialize<'de> for MacOSNotarizeApiConfigwhere
MacOSNotarizeApiConfig: Default,
impl<'de> Deserialize<'de> for MacOSNotarizeApiConfigwhere
MacOSNotarizeApiConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for MacOSNotarizeApiConfig
impl JsonSchema for MacOSNotarizeApiConfig
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read more