Documentation ¶
Index ¶
Constants ¶
View Source
const ( // StepType is a string type representation of step event StepType = "dev.knative.eventing.wathola.step" // FinishedType os a string type representation of finished event FinishedType = "dev.knative.eventing.wathola.finished" )
View Source
const FinishedEventPrefix = "finish event"
View Source
const ZipkinTracesEndpoint = "http://localhost:9411/api/v2/traces"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ErrorStore ¶
type ErrorStore struct {
// contains filtered or unexported fields
}
ErrorStore contains errors that was thrown
type FinishedStore ¶
type FinishedStore interface { RegisterFinished(finished *Finished) TotalRequests() int State() State DuplicatedThrown() []string MissingThrown() []string UnexpectedThrown() []string }
FinishedStore registers a finished event type
func NewFinishedStore ¶
func NewFinishedStore(steps StepsStore, errors *ErrorStore) FinishedStore
NewFinishedStore creates FinishedStore
type StepsStore ¶
StepsStore contains methods that register step event type
func NewStepsStore ¶
func NewStepsStore(errors *ErrorStore) StepsStore
NewStepsStore creates StepsStore
type UnavailablePeriod ¶ added in v0.32.0
type UnavailablePeriod struct {}
UnavailablePeriod tracks for the given step event how long it could not be sent.
Click to show internal directories.
Click to hide internal directories.