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