Versions in this module Expand all Collapse all v0 v0.1.1 Jul 28, 2018 v0.1.0 Jul 22, 2018 Changes in this version + func NewWebhook(cfg WebhookConfig, mutator Mutator, recorder metrics.Recorder, ...) (webhook.Webhook, error) + type Chain struct + func NewChain(logger log.Logger, mutators ...Mutator) *Chain + func (c *Chain) Mutate(ctx context.Context, obj metav1.Object) (bool, error) + type Mutator interface + Mutate func(context.Context, metav1.Object) (stop bool, err error) + type MutatorFunc func(context.Context, metav1.Object) (bool, error) + func (f MutatorFunc) Mutate(ctx context.Context, obj metav1.Object) (bool, error) + type WebhookConfig struct + Name string + Obj metav1.Object