webhookctl

package
v0.43.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(
	logging librepo.Logging,
	timestamp librepo.Timestamp,
	vcswebhookshandler service.VCSWebhooksHandler,
) controller.WebhookController

Types

type Impl

type Impl struct {
	Logging            librepo.Logging
	Timestamp          librepo.Timestamp
	VCSWebhooksHandler service.VCSWebhooksHandler
}

func (*Impl) IsWebhookController

func (c *Impl) IsWebhookController() bool

func (*Impl) PostVCSWebhook added in v0.39.0

func (c *Impl) PostVCSWebhook(w http.ResponseWriter, r *http.Request)

func (*Impl) WireUp

func (c *Impl) WireUp(_ context.Context, router chi.Router)

Jump to

Keyboard shortcuts

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