Versions in this module Expand all Collapse all v0 v0.1.4 Sep 25, 2018 v0.1.3 Sep 17, 2018 Changes in this version + func ErrorResponse(code int32, err error) types.Response + func NewDecoder(scheme *runtime.Scheme) (types.Decoder, error) + func PatchResponse(original, current runtime.Object) types.Response + func ValidationResponse(allowed bool, reason string) types.Response + type DecodeFunc func(types.Request, runtime.Object) error + func (f DecodeFunc) Decode(req types.Request, obj runtime.Object) error + type Handler interface + Handle func(context.Context, atypes.Request) atypes.Response + type HandlerFunc func(context.Context, atypes.Request) atypes.Response + func (f HandlerFunc) Handle(ctx context.Context, req atypes.Request) atypes.Response + type Webhook struct + FailurePolicy *admissionregistrationv1beta1.FailurePolicyType + Handlers []Handler + Name string + NamespaceSelector *metav1.LabelSelector + Path string + Rules []admissionregistrationv1beta1.RuleWithOperations + Type types.WebhookType + func (w *Webhook) Add(handlers ...Handler) + func (w *Webhook) GetName() string + func (w *Webhook) GetPath() string + func (w *Webhook) GetType() types.WebhookType + func (w *Webhook) Handle(ctx context.Context, req atypes.Request) atypes.Response + func (w *Webhook) Handler() http.Handler + func (w *Webhook) InjectClient(c client.Client) error + func (w *Webhook) InjectDecoder(d atypes.Decoder) error + func (w *Webhook) Validate() error + func (wh *Webhook) ServeHTTP(w http.ResponseWriter, r *http.Request)