package
1.0.1
Repository: https://github.com/linuxboot/contest.git
Documentation: pkg.go.dev

# Functions

BuildQuery compiles a Query from scratch using values of queryFields.
New creates a new Event with zero value header and data.
QueryEmittedEndTime sets the EmittedEndTime field of the Query object.
QueryEmittedStartTime sets the EmittedStartTime field of the Query object.
QueryEventName sets a single EventName field in the Query objec.
QueryEventNames the EventNames field of the Query object.
QueryJobID sets the JobID field of the Query object.
QueryRunID sets the RunID field of the Query object.
QueryTestName sets the TestName field of the Query object.
QueryTestStepLabel sets the TestStepLabel field of the Query object.

# Structs

Data models the data of a test event.
Event models an event object that can be emitted by a TestStep.
Header models the header of a test event, which consists in metadata that defines the emitter of the events.
Query wraps information that are used to build queries for test events, on top of the common EventQuery fields.

# Interfaces

Emitter defines the interface that emitter objects must implement.
EmitterFetcher defines the interface that objects supporting emitting and fetching events must implement.
Fetcher defines the interface that fetcher objects must implement.
QueryField defines a function type used to set a field's value on Query objects.

# Type aliases

QueryFields is a set of field values for a Query object.