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

trigger

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2022 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