webhook

package
v2.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 28 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseRevision added in v2.13.0

func ParseRevision(ref string) string

Types

type ArgoCDWebhookHandler

type ArgoCDWebhookHandler struct {
	sync.WaitGroup // for testing
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(namespace string, applicationNamespaces []string, webhookParallelism int, appClientset appclientset.Interface, set *settings.ArgoCDSettings, settingsSrc settingsSource, repoCache *cache.Cache, serverCache *servercache.Cache, argoDB db.ArgoDB, maxWebhookPayloadSizeB int64) *ArgoCDWebhookHandler

func (*ArgoCDWebhookHandler) HandleEvent

func (a *ArgoCDWebhookHandler) HandleEvent(payload interface{})

HandleEvent handles webhook events for repo push events

func (*ArgoCDWebhookHandler) Handler

Jump to

Keyboard shortcuts

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