provider_start_failed

Function provider_start_failed 

Source
pub fn provider_start_failed(
    provider_ref: impl AsRef<str>,
    provider_id: impl AsRef<str>,
    host_id: impl AsRef<str>,
    error: &Error,
) -> Value
Expand description

Generates an event payload for when a provider fails to start

§Arguments

  • provider_ref - Reference to the provider image
  • provider_id - Unique identifier for the provider
  • host_id - ID of the host where start failed
  • error - The error that caused the start failure

§Returns

JSON object containing provider start failure details