Documentation
¶
Index ¶
- type CELFilter
- type Filter
- func GetFilter(subscriptionFilters []*primitive.SubscriptionFilter) Filter
- func NewAllFilter(filters ...Filter) Filter
- func NewAnyFilter(filters ...Filter) Filter
- func NewCELFilter(expression string) Filter
- func NewCESQLFilter(expression string) Filter
- func NewExactFilter(exact map[string]string) Filter
- func NewNoFilter() Filter
- func NewNotFilter(f Filter) Filter
- func NewPrefixFilter(prefix map[string]string) Filter
- func NewSuffixFilter(suffix map[string]string) Filter
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
type Filter interface { // Filter compute the predicate on the provided event and returns the result of the matching Filter(ce.Event) Result }
Filter is an interface representing an event filter of the trigger filter.
func GetFilter ¶
func GetFilter(subscriptionFilters []*primitive.SubscriptionFilter) Filter
func NewAllFilter ¶
func NewAnyFilter ¶
func NewCELFilter ¶
func NewCESQLFilter ¶
func NewExactFilter ¶
func NewNoFilter ¶
func NewNoFilter() Filter
func NewNotFilter ¶
func NewPrefixFilter ¶
func NewSuffixFilter ¶
Click to show internal directories.
Click to hide internal directories.