webhook

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
}

func (*Provider) CreateListener

func (p *Provider) CreateListener(ctx context.Context, config *v1alpha1.NotificationSource, client client.Client, eventChan chan events.SecretRotationEvent, logger logr.Logger) (schema.Listener, error)

NewWebhookListener creates a new Listener that listens for webhook notifications based on the provided configuration and event channel.

type RetryMessage

type RetryMessage struct {
	// contains filtered or unexported fields
}

type WebhookListener

type WebhookListener struct {
	// contains filtered or unexported fields
}

WebhookListener listens for webhook notifications to handle secret rotation events.

func (*WebhookListener) Start

func (h *WebhookListener) Start() error

Start initiates the WebhookListener to begin listening for incoming webhook requests.

func (*WebhookListener) Stop

func (h *WebhookListener) Stop() error

Stop gracefully shuts down the WebhookListener by closing the stopChan channel which triggers the termination process.

Jump to

Keyboard shortcuts

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