Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interceptor ¶
type Interceptor struct {
// contains filtered or unexported fields
}
func NewInterceptor ¶
func NewInterceptor(logger logging.Logger) *Interceptor
func (*Interceptor) Interceptor ¶
func (i *Interceptor) 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.