webhook

package
v4.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebhookInterceptor

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

func NewWebhookInterceptor

func NewWebhookInterceptor(logger logging.Logger) *WebhookInterceptor

func (*WebhookInterceptor) Interceptor

func (i *WebhookInterceptor) Interceptor(client kubernetes.Interface) func(w http.ResponseWriter, r *http.Request, next http.Handler)

Interceptor creates an annotator that verifies webhook signatures and adds the appropriate access token to the request.

Jump to

Keyboard shortcuts

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