broker

package
v0.22.3 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2021 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BrokerNameKey  = "brokerName"
	TriggerNameKey = "triggerName"
)

Variables

This section is empty.

Functions

func BrokerIngressConformanceFeatures

func BrokerIngressConformanceFeatures(brokerClass string) []*feature.Feature

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 ControlPlaneDelivery added in v0.22.0

func ControlPlaneDelivery(brokerName string) *feature.Feature

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 DataPlaneConformance added in v0.22.0

func DataPlaneConformance(brokerName string) *feature.FeatureSet

func DataPlaneDelivery added in v0.22.0

func DataPlaneDelivery(brokerName string) *feature.Feature

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 --trigger--> bad uri

|
+--[DLQ]--> recorder

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) *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