Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidContentType = errors.New("form parameter encoding not supported, please change the hook to send JSON payloads")
ErrInvalidContentType is returned when the content-type is not a JSON body.
Functions ¶
func NewInterceptor ¶
func NewInterceptor(gh *triggersv1.GitHubInterceptor, k kubernetes.Interface, ns string, l *zap.SugaredLogger) interceptors.Interceptor
Types ¶
type Interceptor ¶
type Interceptor struct { KubeClientSet kubernetes.Interface Logger *zap.SugaredLogger GitHub *triggersv1.GitHubInterceptor EventListenerNamespace string }
func (*Interceptor) ExecuteTrigger ¶
Click to show internal directories.
Click to hide internal directories.