Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InterceptorImpl ¶ added in v0.25.0
type InterceptorImpl struct {
SecretGetter interceptors.SecretGetter
}
func NewInterceptor ¶
func NewInterceptor(sg interceptors.SecretGetter) *InterceptorImpl
func (*InterceptorImpl) Process ¶ added in v0.25.0
func (w *InterceptorImpl) Process(ctx context.Context, r *triggersv1.InterceptorRequest) *triggersv1.InterceptorResponse
type InterceptorParams ¶ added in v0.25.0
type InterceptorParams struct { SecretRef *triggersv1.SecretRef `json:"secretRef,omitempty"` // +listType=atomic EventTypes []string `json:"eventTypes,omitempty"` }
InterceptorParams provides a webhook to intercept and pre-process events
Click to show internal directories.
Click to hide internal directories.