webhook

package
v0.0.0-...-eb5b319 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2025 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterWebhooks

func RegisterWebhooks(genericClient client.Client, ws *restful.WebService, jenkins core.JenkinsCore)

RegisterWebhooks registers all webhooks into web service.

Types

type Handler

type Handler struct {
	client.Client
}

Handler handles requests from webhooks.

func NewHandler

func NewHandler(genericClient client.Client) *Handler

NewHandler creates a new handler for handling webhooks.

func (*Handler) ReceiveEventsFromJenkins

func (handler *Handler) ReceiveEventsFromJenkins(request *restful.Request, response *restful.Response)

ReceiveEventsFromJenkins receives events from Jenkins

type SCMHandler

type SCMHandler struct {
	client.Client
	// contains filtered or unexported fields
}

SCMHandler handles requests from webhooks.

func NewSCMHandler

func NewSCMHandler(genericClient client.Client, jenkins core.JenkinsCore) *SCMHandler

NewSCMHandler creates a new handler for handling webhooks.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳