broker

package
v0.31.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BrokerNameKey = "brokerName"
)

Variables

This section is empty.

Functions

func BrokerStatusDLSURISet added in v0.27.0

func BrokerStatusDLSURISet(ctx context.Context, t feature.T)

func ControlPlaneBroker added in v0.22.0

func ControlPlaneBroker(brokerName string) *feature.Feature

func ControlPlaneConformance added in v0.22.0

func ControlPlaneConformance(brokerName string) *feature.FeatureSet

func ControlPlaneTrigger_GivenBroker added in v0.22.0

func ControlPlaneTrigger_GivenBroker(brokerName string) *feature.Feature

func ControlPlaneTrigger_GivenBrokerTriggerReady added in v0.22.0

func ControlPlaneTrigger_GivenBrokerTriggerReady(brokerName string) *feature.Feature

func ControlPlaneTrigger_WithBrokerLifecycle added in v0.22.0

func ControlPlaneTrigger_WithBrokerLifecycle() *feature.Feature

func ControlPlaneTrigger_WithInvalidFilters added in v0.22.0

func ControlPlaneTrigger_WithInvalidFilters(brokerName string) *feature.Feature

func ControlPlaneTrigger_WithValidFilters added in v0.22.0

func ControlPlaneTrigger_WithValidFilters(brokerName string) *feature.Feature

func DataPlaneAddressability added in v0.23.0

func DataPlaneAddressability(brokerName string) *feature.Feature

func DataPlaneConformance added in v0.22.0

func DataPlaneConformance(brokerName string) *feature.FeatureSet

func DataPlaneIngress added in v0.22.0

func DataPlaneIngress(brokerName string) *feature.Feature

func DataPlaneObservability added in v0.22.0

func DataPlaneObservability(brokerName string) *feature.Feature

func DefaultDeliverySpec added in v0.29.0

func DefaultDeliverySpec() *feature.Feature

func GoesReady added in v0.22.0

func GoesReady(name string, cfg ...manifest.CfgFn) *feature.Feature

GoesReady returns a feature that will create a Broker of the given name and class, and confirm it becomes ready with an address.

func SourceToSink

func SourceToSink(brokerName string) *feature.Feature

SourceToSink tests to see if a Ready Broker acts as middleware. LoadGenerator --> in [Broker] out --> Recorder

func SourceToSinkWithDLQ added in v0.22.0

func SourceToSinkWithDLQ() *feature.Feature

SourceToSinkWithDLQ tests to see if a Trigger with no DLQ and a bad Sink, subscribed to a Ready Broker, forward unsent events to it's Broker's DLQ

source ---> broker<Via> --trigger--> bad uri

|
+--[DLQ]--> dlq

func SourceToSinkWithFlakyDLQ added in v0.22.0

func SourceToSinkWithFlakyDLQ(brokerName string) *feature.Feature

SourceToSinkWithFlakyDLQ tests to see if a Ready Broker acts as middleware.

source ---> broker --trigger--> flake 1/3 --> recorder

|
+--[DLQ]--> recorder

func TriggerGoesReady

func TriggerGoesReady(name, brokerName string, cfg ...manifest.CfgFn) *feature.Feature

TriggerGoesReady returns a feature that tests after the creation of a Trigger, it becomes ready. This feature assumes the Broker already exists.

Types

type EventingClient added in v0.22.0

type EventingClient struct {
	Brokers  eventingclientsetv1.BrokerInterface
	Triggers eventingclientsetv1.TriggerInterface
}

func Client added in v0.22.0

func Client(ctx context.Context) *EventingClient

Jump to

Keyboard shortcuts

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