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.
Click to show internal directories.
Click to hide internal directories.