new_trigger_filters

package
v0.43.3 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AllFilterFeature

func AllFilterFeature(installBroker InstallBrokerFunc) *feature.Feature

func AnyFilterFeature

func AnyFilterFeature(installBroker InstallBrokerFunc) *feature.Feature

func FilterAttributeWithEmptyFiltersFeature added in v0.40.0

func FilterAttributeWithEmptyFiltersFeature(installBroker InstallBrokerFunc) *feature.Feature

Empty SubscriptionAPI Filters do not override Filter Attributes

func FiltersOverrideAttributeFilterFeature added in v0.40.0

func FiltersOverrideAttributeFilterFeature(installBroker InstallBrokerFunc) *feature.Feature

SubscriptionAPI filters override filter attributes

func MissingAttributesFeature added in v0.40.0

func MissingAttributesFeature(installBroker InstallBrokerFunc) *feature.Feature

func MultipleFiltersFeature added in v0.40.0

func MultipleFiltersFeature(installBroker InstallBrokerFunc) *feature.Feature

Multiple filters are specified without All or Any option.

func MultipleTriggersAndSinksFeature

func MultipleTriggersAndSinksFeature(installBroker InstallBrokerFunc) *feature.Feature

func NewFiltersFeatureSet added in v0.40.0

func NewFiltersFeatureSet(installBroker InstallBrokerFunc) *feature.FeatureSet

NewFiltersFeatureSet creates a feature set which runs tests for the new trigger filters It requires a function which installs a broker implementation into the current feature for testing. All new triggers tests should be registered in this feature set so that they can be easily included in other broker implementations for testing.

func SingleDialectFilterFeatures added in v0.40.0

func SingleDialectFilterFeatures(installBroker InstallBrokerFunc) []*feature.Feature

SingleDialectFilterFeatures creates an array of features which each test a single dialect of the new filters. It requires a function which installs a broker implementation into the current feature for testing.

Types

type CloudEventsContext

type CloudEventsContext struct {
	// contains filtered or unexported fields
}

type InstallBrokerFunc added in v0.40.0

type InstallBrokerFunc func(brokerName string) feature.StepFn

Jump to

Keyboard shortcuts

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