Versions in this module Expand all Collapse all v0 v0.2.0 Jun 15, 2020 Changes in this version + const FAILURE + const SUCCESS + func Conversion(htype ConversionHandlerType) *configuration + func SchemeBasedConversion() *configuration + type CRDDeclaration struct + func (this *CRDDeclaration) Kind() webhook.WebhookKind + type Config struct + OmitStorageMigration bool + func (this *Config) AddOptionsToSet(set config.OptionSet) + type ConversionHandlerType func(wh webhook.Interface) (Interface, error) + type Definition interface + GetHTTPHandler func(wh webhook.Interface) (http.Handler, error) + GetKind func() webhook.WebhookKind + Validate func(p webhook.Interface) error + type HTTPHandler struct + func (this *HTTPHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (this *HTTPHandler) Webhook() Interface + type Interface interface + Handle func(log logger.LogContext, version string, obj runtime.RawExtension) (runtime.Object, error) + type Request = api.ConversionRequest + type Response = api.ConversionResponse + func ErrorResponse(req *Request, code int32, err error) *Response + type WebhookFunc func(log logger.LogContext, version string, obj runtime.RawExtension) (runtime.Object, error) + func (this WebhookFunc) Handle(log logger.LogContext, version string, obj runtime.RawExtension) (runtime.Object, error) + func (this WebhookFunc) Type() ConversionHandlerType