message

package
v0.0.0-...-0490640 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

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

	Shared struct {
		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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL