type webhookConverterFactory …
func newWebhookConverterFactory(serviceResolver webhook.ServiceResolver, authResolverWrapper webhook.AuthenticationInfoResolverWrapper) (*webhookConverterFactory, error) { … }
type webhookConverter …
func webhookClientConfigForCRD(crd *v1.CustomResourceDefinition) *webhook.ClientConfig { … }
var _ …
func (f *webhookConverterFactory) NewWebhookConverter(crd *v1.CustomResourceDefinition) (*webhookConverter, error) { … }
func getObjectsToConvert(obj runtime.Object, apiVersion string) []runtime.RawExtension { … }
func createConversionReviewObjects(conversionReviewVersions []string, objects []runtime.RawExtension, apiVersion string, requestUID types.UID) (request, response runtime.Object, err error) { … }
func getRawExtensionObject(rx runtime.RawExtension) (runtime.Object, error) { … }
func getConvertedObjectsFromResponse(expectedUID types.UID, response runtime.Object) (convertedObjects []runtime.RawExtension, err error) { … }
func (c *webhookConverter) Convert(in runtime.Object, toGV schema.GroupVersion) (runtime.Object, error) { … }
func validateConvertedObject(in, out *unstructured.Unstructured) error { … }
func restoreObjectMeta(original, converted *unstructured.Unstructured) error { … }
func isEmptyUnstructuredObject(in runtime.Object) bool { … }