trigger

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandTypeTest   = "test"
	CommandTypeRetest = "retest"
)

Command types for trigger handler

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Client client.Client
}

Handler is an implementation of a ChatOps Handler

func (*Handler) HandleChatOps

func (h *Handler) HandleChatOps(command chatops.Command, webhook *git.Webhook, config *cicdv1.IntegrationConfig) error

HandleChatOps handles /test and /retest comment commands

Jump to

Keyboard shortcuts

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