trigger

package
v0.0.0-...-f49f4f7 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GitWebhookProviderName = "git-webhook"
	CronProviderName       = "cron"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(log *zap.Logger, state serverstate.State, runFunc coordinatorFlowRunFunc) *Handler

func (*Handler) CreateTrigger

func (h *Handler) CreateTrigger(trigger *state.Trigger) error

func (*Handler) DeleteTrigger

func (h *Handler) DeleteTrigger(trigger *state.Trigger) error

func (*Handler) HandleTriggerWebhook

func (h *Handler) HandleTriggerWebhook(
	w http.ResponseWriter,
	r *http.Request,
	trigger *state.Trigger,
)

func (*Handler) Start

func (h *Handler) Start() error

func (*Handler) Stop

func (h *Handler) Stop() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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