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 ¶
This section is empty.
Types ¶
type Interceptor ¶
type Interceptor struct {
SecretGetter interceptors.SecretGetter
}
func NewInterceptor ¶
func NewInterceptor(sg interceptors.SecretGetter) *Interceptor
func (*Interceptor) Process ¶ added in v0.11.0
func (w *Interceptor) Process(ctx context.Context, r *triggersv1.InterceptorRequest) *triggersv1.InterceptorResponse
Click to show internal directories.
Click to hide internal directories.