trigger

package
v0.29.1 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TriggerNameKey = "triggerName"
)

Variables

This section is empty.

Functions

func BadTriggerDoesNotAffectOkTrigger added in v0.29.0

func BadTriggerDoesNotAffectOkTrigger() *feature.Feature

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

|   |
|   +--[trigger<vai2>]--> sink
|
+--[DLQ]--> dlq

func Defaulting

func Defaulting() *feature.FeatureSet

func Defaulting_Filter

func Defaulting_Filter() *feature.Feature

func Defaulting_SubscriberNamespace

func Defaulting_SubscriberNamespace() *feature.Feature

func GetTrigger

func GetTrigger(ctx context.Context, t feature.T) *eventingv1.Trigger

func SetTriggerName

func SetTriggerName(name string) feature.StepFn

func SourceToTriggerSinkWithDLS added in v0.28.0

func SourceToTriggerSinkWithDLS(triggerName, brokerName string, prober *eventshub.EventProber) *feature.Feature

SourceToTriggerSinkWithDLS tests to see if a Ready Trigger with a DLS defined send failing events to it's DLS.

source ---> broker --trigger--> bad uri

|
+--[DLS]--> sink

func SourceToTriggerSinkWithDLSDontUseBrokers added in v0.28.0

func SourceToTriggerSinkWithDLSDontUseBrokers(triggerName, brokerName, brokerSinkName string, prober *eventshub.EventProber) *feature.Feature

SourceToTriggerSinkWithDLSDontUseBrokers tests to see if a Ready Trigger sends failing events to it's DLS even when it's corresponding Ready Broker also have a DLS defined.

source ---> broker --trigger--> bad uri

|          |
+--[DLS]   +--[DLS]--> sink

Types

type EventingClient

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

func Client

func Client(ctx context.Context) *EventingClient

Jump to

Keyboard shortcuts

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