Documentation ¶
Index ¶
- func AcceptsCEVersions(ctx context.Context, t feature.T, gvr schema.GroupVersionResource, name string)
- func AssertEventPatterns(prober *eventshub.EventProber, expected map[string]EventPattern) feature.StepFn
- func DeliveryAttempts(specs ...*v1.DeliverySpec) uint
- func EventToEvent(in *cloudevents.Event) conformanceevent.Event
- func HasReadyInConditions(_ context.Context, t feature.T, status duckv1.Status)
- func KResourceHasObservedGeneration(gvr schema.GroupVersionResource, name string) feature.StepFn
- func KResourceHasReadyInConditions(gvr schema.GroupVersionResource, name string) feature.StepFn
- func ReceivedEventsFromProber(ctx context.Context, prober *eventshub.EventProber, prefix string) []conformanceevent.Event
- func SentEventMatcher(uuid string) func(eventshub.EventInfo) error
- type EventInfoCombined
- type EventPattern
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AcceptsCEVersions ¶
func AssertEventPatterns ¶ added in v0.23.0
func AssertEventPatterns(prober *eventshub.EventProber, expected map[string]EventPattern) feature.StepFn
func DeliveryAttempts ¶ added in v0.23.0
func DeliveryAttempts(specs ...*v1.DeliverySpec) uint
DeliveryAttempts will return the number of times the first non-nil delivery spec declares retry to be. The returned value will be 1 + retry.
func EventToEvent ¶ added in v0.23.0
func EventToEvent(in *cloudevents.Event) conformanceevent.Event
func HasReadyInConditions ¶
func KResourceHasObservedGeneration ¶
func KResourceHasObservedGeneration(gvr schema.GroupVersionResource, name string) feature.StepFn
func KResourceHasReadyInConditions ¶
func KResourceHasReadyInConditions(gvr schema.GroupVersionResource, name string) feature.StepFn
func ReceivedEventsFromProber ¶ added in v0.23.0
func ReceivedEventsFromProber(ctx context.Context, prober *eventshub.EventProber, prefix string) []conformanceevent.Event
Types ¶
type EventInfoCombined ¶
func Correlate ¶
func Correlate(in []eventshub.EventInfo) []EventInfoCombined
Correlate takes in an array of mixed Sent / Response events (matched with sentEventMatcher for example) and correlates them based on the sequence into a pair.
type EventPattern ¶ added in v0.23.0
func PatternFromEstimates ¶ added in v0.23.0
func PatternFromEstimates(attempts, failures uint) EventPattern
func PatternFromProber ¶ added in v0.23.0
func PatternFromProber(ctx context.Context, prober *eventshub.EventProber, prefix string) EventPattern
Click to show internal directories.
Click to hide internal directories.