Documentation ¶
Index ¶
- Variables
- func InitCerealManager(m *cereal.Manager, workerCount int, ...) error
- type CreateChildTask
- type InspecJobSummaryTask
- type InspecJobTask
- type LostJob
- type ResolveTask
- type ScanJobWorkflow
- func (s *ScanJobWorkflow) OnCancel(w cereal.WorkflowInstance, ev cereal.CancelEvent) cereal.Decision
- func (p *ScanJobWorkflow) OnStart(w cereal.WorkflowInstance, ev cereal.StartEvent) cereal.Decision
- func (p *ScanJobWorkflow) OnTaskComplete(w cereal.WorkflowInstance, ev cereal.TaskCompleteEvent) cereal.Decision
- type ScanJobWorkflowPayload
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ScanJobWorkflowName = cereal.NewWorkflowName("scan-job-workflow") CreateChildTaskName = cereal.NewTaskName("create-child") ResolveJobTaskName = cereal.NewTaskName("resolve-job") ScanJobTaskName = cereal.NewTaskName("scan-job") ScanJobSummaryTaskName = cereal.NewTaskName("scan-job-summary") )
View Source
var ControlResultsLimit int = 50
ControlResultsLimit used for configuring inspec exec command, passed in via config flag
View Source
var ESClient *ingestic.ESClient
Set from compliance.go to call the ElasticSearch backend
View Source
var ListenPort int = 2133
View Source
var RunTimeLimit float32 = 1.0
RunTimeLimit used for report post processing to reduce the size of the report.
Functions ¶
Types ¶
type CreateChildTask ¶
type CreateChildTask struct {
// contains filtered or unexported fields
}
type InspecJobSummaryTask ¶
type InspecJobSummaryTask struct {
// contains filtered or unexported fields
}
type InspecJobTask ¶
type InspecJobTask struct {
// contains filtered or unexported fields
}
type ResolveTask ¶
type ResolveTask struct {
// contains filtered or unexported fields
}
type ScanJobWorkflow ¶
type ScanJobWorkflow struct{}
func (*ScanJobWorkflow) OnCancel ¶
func (s *ScanJobWorkflow) OnCancel(w cereal.WorkflowInstance, ev cereal.CancelEvent) cereal.Decision
func (*ScanJobWorkflow) OnStart ¶
func (p *ScanJobWorkflow) OnStart(w cereal.WorkflowInstance, ev cereal.StartEvent) cereal.Decision
func (*ScanJobWorkflow) OnTaskComplete ¶
func (p *ScanJobWorkflow) OnTaskComplete(w cereal.WorkflowInstance, ev cereal.TaskCompleteEvent) cereal.Decision
Click to show internal directories.
Click to hide internal directories.