Module utils

Source
Expand description

Utilities for director-based tools.

Tools written using this crate usually have other tasks related to management of the job files. These functions are meant to be used in the tools so that these tasks are built into the tool rather than managed using external scripts.

Enums§

ArchiveError
An error when writing to an archive.
ArchiveQueueError
An error archiving a queue.
JobError
An error creating a utiltiy job.

Functions§

archive_queue
Archive the jobs in the given queue into a tarball in the output directory.
drop_job
Write a job to the given queue.
exit
Write an exit job to the given queue.
restart
Write a restart job to the given queue.