provider_started

Function provider_started 

Source
pub fn provider_started(
    claims: Option<&Claims<CapabilityProvider>>,
    annotations: &BTreeMap<String, String>,
    host_id: impl AsRef<str>,
    image_ref: impl AsRef<str>,
    provider_id: impl AsRef<str>,
) -> Value
Expand description

Generates an event payload for when a provider starts

§Arguments

  • claims - Optional capability provider claims
  • annotations - Key-value pairs of metadata annotations
  • host_id - ID of the host where provider started
  • image_ref - Reference to the provider image
  • provider_id - Unique identifier for the provider

§Returns

JSON object containing provider startup details and metadata