Skip to main content

create_cron_workflow

Function create_cron_workflow 

Source
pub async fn create_cron_workflow(
    pool: &PgPool,
    id: CronWorkflowId,
    name: &str,
    description: &Option<String>,
    cronspec: &str,
    workflow_name: &str,
    repo_url: &str,
    workflow_path: &str,
    git_ref: &str,
    inputs: &Value,
    secret_token: &str,
    external_job_id: &Option<String>,
) -> Result<(), Error>
Expand description

Creates a new cron workflow configuration.