kubernetes/test/images/agnhost/crd-conversion-webhook/converter/framework.go

type convertFunc

func statusErrorWithMessage(msg string, params ...interface{}

func statusSucceed() metav1.Status {}

// doConversionV1beta1 converts the requested objects in the v1beta1 ConversionRequest using the given conversion function and
// returns a conversion response. Failures are reported with the Reason in the conversion response.
func doConversionV1beta1(convertRequest *v1beta1.ConversionRequest, convert convertFunc) *v1beta1.ConversionResponse {}

// doConversionV1 converts the requested objects in the v1 ConversionRequest using the given conversion function and
// returns a conversion response. Failures are reported with the Reason in the conversion response.
func doConversionV1(convertRequest *v1.ConversionRequest, convert convertFunc) *v1.ConversionResponse {}

func serve(w http.ResponseWriter, r *http.Request, convert convertFunc) {}

// ServeExampleConvert servers endpoint for the example converter defined as convertExampleCRD function.
func ServeExampleConvert(w http.ResponseWriter, r *http.Request) {}

type mediaType

var scheme

func init() {}

func addToScheme(scheme *runtime.Scheme) {}

var serializers

func getInputSerializer(contentType string) runtime.Serializer {}

func getOutputSerializer(accept string) runtime.Serializer {}