Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ListenPort int = 2133
Functions ¶
func NewJobRunningMap ¶
func NewJobRunningMap() jobRunningStore
func NewJobStatusStore ¶
func NewJobStatusStore() jobStatusStore
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func New ¶
func New(managerClient manager.NodeManagerServiceClient, nodesClient nodes.NodesServiceClient, db *pgdb.DB, ingestClient ingest.ComplianceIngesterClient) *Runner
func (*Runner) Add ¶
Add is used to populate the jobs array and pass jobs to the workers via the channel
func (*Runner) AddJobs ¶
Add is used to populate the jobs array and pass jobs to the workers via the channel
func (*Runner) SetWorkers ¶
SetWorkers is used to instantiate the communication channel for the workers and then start the worker go routines
Click to show internal directories.
Click to hide internal directories.