Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var WebhooksDisabledByDefault = sets.NewString()
WebhooksDisabledByDefault is the set of webhooks which is disabled by default
Functions ¶
func NewWebhookInitializers ¶
func Run ¶
func Run(opt *options.Options, genericOptions ...katalystbase.GenericOptions) error
Types ¶
type InitFunc ¶
type InitFunc func(ctx context.Context, webhookCtx *katalystbase.GenericContext, generic *webhookconfig.GenericWebhookConfiguration, webhookConf *webhookconfig.WebhooksConfiguration, webhookName string) (*webhookconsts.WebhookWrapper, error)
InitFunc is used to launch a particular webhook. Any error returned will cause the webhooks process to `Fatal` The Webhook indicates the returned webhook implementation, while the bool indicates whether the webhook was enabled.
Click to show internal directories.
Click to hide internal directories.