# Functions
JobFromCheck crates a Job with the required info for a check to be run by an agent.
NewJobQueueSender creates a new JobQueueSender given the corresponder named queues message sender and the default queue names for checktypes.
NewJobsCreator creates and returns a new JobsCreator given its dependencies.
# Constants
MaxScanAge Max number of days a scan be in "creating checks state".
# Variables
ErrNoDefaultQueueDefined is returned when the initial default queues configuration does not contain a entry with the key "default".
# Structs
ChecksRunner allows to create the checks of a scan in a stateless way.
ChecksRunnerTask implements a periodic check creator than can be run by the Scheduler.
Job stores the information necessary to create a new check job to be sent to an agent.
JobsQueueSender allows to send jobs to the proper agent queue considering a map of default queues for checks.
# Interfaces
CheckNotifier is used by the ChecksRunner to send notifications when a Check has ben created or sent to a queue.
No description provided by the author
ChecktypeInformer defines the services required by the JobCreator type to be able to query information about checktypes.
JobSender send a job to be run by an agent.
No description provided by the author
NamedQueuesSender allows to send messages to a queue given its name.
Store defines the methods required by the check creator to query and update checks and scans.