Skip to main content

create_run_with_kind

Function create_run_with_kind 

Source
pub fn create_run_with_kind(
    conn: &Connection,
    id: &str,
    schedule: Option<&Schedule>,
    manual_kind: &str,
    missed_occurrences: i64,
    lease_epoch: Option<i64>,
) -> Result<Run, String>
Expand description

Creates a manual or scheduled run with an explicit operation kind. A schedule remains authoritative when present; the explicit kind is used only for manually-triggered operations such as a restore drill.