# Functions
Delete remove worker from database, it also removes the associated consumer.
DeleteDeadWorkers delete all workers which is disabled.
DisableDeadWorkers put status disabled to all dead workers with status Registering, Waiting or Building.
Initialize init the package.
LoadWorkerByIDWithDecryptKey load worker with decrypted private key.
LoadWorkerByIDWithDecryptKey load worker with decrypted private key.
ReAttachAllToHatchery search for workers without hatchery an re-attach workers if the hatchery consumer match worker consumer's parent.
RefreshWorker Update worker last_beat.
RegisterWorker Register new worker.
ReleaseAllFromHatchery remove dependency to given given hatchery for all workers linked to it.
SetStatus sets job_run_id and status to building on given worker.
SetToBuilding sets job_run_id and status to building on given worker.
# Variables
ErrNoWorker means the given worker ID is not found.
# Structs
RegistrationForm represents the arguments needed to register a worker.
TakeForm contains booked JobID if exists.