eventmatcher

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventMatcher

type EventMatcher struct {
	Project string
	Stage   string
	Service string
}

EventMatcher is used to check whether an event contains is containing information about a specif event, stage or service

func New

func New(subscription models.EventSubscription) *EventMatcher

New creates a new EventMatcher that is configured with information about project, stage and service filter contained in an event subscription

func (EventMatcher) Matches

Matches checks whether a Keptn event matches the information of the currently configured EventMatcher

Jump to

Keyboard shortcuts

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