View Source Bildad.Job.JobTemplates (Bildad v0.1.6)
Manages job templates.
Summary
Functions
Creates a new job template with the provided attributes.
Deletes the provided job template.
Lists all the active job templates without pagination.
Lists all the active job templates with pagination (with the default page size if nil provided as the page size).
Lists all the active job templates without pagination.
Lists all the active job templates with pagination (with the default page size if nil provided as the page size).
Lists all the inactive job templates without pagination.
Lists all the inactive job templates with pagination (with the default page size if nil provided as the page size).
Lists all the active job templates without pagination.
Lists all the active job templates with pagination (with the default page size if nil provided as the page size).
Updates the provided job template with the provided attributes.
Functions
Creates a new job template with the provided attributes.
Note that the module_name should be a string version of the Elixir module name that will be used to run the job.
Note that the job_context_schema should be a map that represents the schema of the context that will be passed to the job module. It will be used to validate the context before running the job.
Deletes the provided job template.
Lists all the active job templates without pagination.
Lists all the active job templates with pagination (with the default page size if nil provided as the page size).
Lists all the active job templates without pagination.
Lists all the active job templates with pagination (with the default page size if nil provided as the page size).
Lists all the inactive job templates without pagination.
Lists all the inactive job templates with pagination (with the default page size if nil provided as the page size).
Lists all the active job templates without pagination.
Lists all the active job templates with pagination (with the default page size if nil provided as the page size).
Updates the provided job template with the provided attributes.