Help us shape the future of Go! Take the 2026 Go Developer Survey

webhook

package
v4.0.13 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 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