Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Compliance ¶
type Compliance struct { QueueTime time.Time Report compliance.Report InspecSummary *relaxting.ESInSpecSummary InspecReport *relaxting.ESInSpecReport InspecProfiles []*relaxting.ESInspecProfile Ctx context.Context Done chan<- error PerProfileSums []relaxting.ESInSpecSummaryProfile AllProfileSums *reportingTypes.NodeControlSummary EndTime time.Time Status string } }
func (*Compliance) ClockProcessingTime ¶
func (msg *Compliance) ClockProcessingTime() int64
ClockProcessingTime will return the time that has passed (in milliseconds) since the message got started until 'Now()'
Useful to check the time that messages take to go through the pipeline
func (Compliance) FinishProcessingCompliance ¶
func (msg Compliance) FinishProcessingCompliance(err error)
type CompliancePipe ¶
type CompliancePipe func(<-chan Compliance) <-chan Compliance
Click to show internal directories.
Click to hide internal directories.