broker

package
v0.24.4 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0 Imports: 35 Imported by: 1

Documentation

Index

Constants

View Source
const (
	BrokerNameKey = "brokerName"
)

Variables

This section is empty.

Functions

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 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(brokerName string) *feature.Feature

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

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

|
+--[DLQ]--> sink

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 SourceToTwoSinksWithDLQ added in v0.23.0

func SourceToTwoSinksWithDLQ(brokerName string) *feature.Feature

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

source ---> broker +--[trigger<via1>]--> bad uri

|   |
|   +--[trigger<vai2>]--> sink2
|
+--[DLQ]--> sink1

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