View Source Bildad.Job.JobRuns (Bildad v0.1.8)

Manages job runs.

Summary

Functions

Returns the number of job runs. (This is useful for pagination.)

Lists all the job runs with pagination.

Lists all the jobs that were running, have not been killed and have expired without pagination.

Lists all the jobs that were running, have not been killed and have expired with pagination (with the default page size if nil provided as the page size).

Lists all the job runs for the provided job run identifier without pagination.

Lists all the jobs that have finished with the provided result without pagination.

Lists all the jobs that have finished with the provided result with pagination (with the default page size if nil provided as the page size).

Lists all the jobs that are running and have timed out without pagination.

Lists all the jobs that are running and have timed out with pagination (with the default page size if nil provided as the page size).

Functions

Link to this function

get_number_of_job_runs(job_config)

View Source

Returns the number of job runs. (This is useful for pagination.)

Link to this function

list_all_job_runs(job_config, page, limit)

View Source

Lists all the job runs with pagination.

Link to this function

list_expired_jobs(job_config)

View Source

Lists all the jobs that were running, have not been killed and have expired without pagination.

Link to this function

list_expired_jobs(job_config, page, limit)

View Source

Lists all the jobs that were running, have not been killed and have expired with pagination (with the default page size if nil provided as the page size).

Link to this function

list_job_runs_for_identifier(job_config, job_run_identifier)

View Source

Lists all the job runs for the provided job run identifier without pagination.

Link to this function

list_job_runs_for_result(job_config, result)

View Source

Lists all the jobs that have finished with the provided result without pagination.

Link to this function

list_job_runs_for_result(job_config, result, page, limit)

View Source

Lists all the jobs that have finished with the provided result with pagination (with the default page size if nil provided as the page size).

Link to this function

list_job_runs_to_kill(job_config)

View Source

Lists all the jobs that are running and have timed out without pagination.

Link to this function

list_job_runs_to_kill(job_config, page, limit)

View Source

Lists all the jobs that are running and have timed out with pagination (with the default page size if nil provided as the page size).

Link to this function

preload_job_runs(job_runs, job_config)

View Source