Help us shape the future of Go! Take the 2026 Go Developer Survey

trigger

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Matcher

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

Matcher determines if a workflow should be triggered by an event

func NewMatcher

func NewMatcher(workflow *schema.Workflow) *Matcher

NewMatcher creates a new trigger matcher for a workflow

func (*Matcher) Match

func (m *Matcher) Match(event *schema.Event) bool

Match checks if the event matches any of the workflow's triggers

Jump to

Keyboard shortcuts

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