func RegisterConversions(s *runtime.Scheme) error {
	if err := s.AddGeneratedConversionFunc((*RestrictedEndpointsAdmissionConfig)(nil), (*restrictedendpoints.RestrictedEndpointsAdmissionConfig)(nil), func(a, b interface{}, scope conversion.Scope) error {
		return Convert_v1_RestrictedEndpointsAdmissionConfig_To_restrictedendpoints_RestrictedEndpointsAdmissionConfig(a.(*RestrictedEndpointsAdmissionConfig), b.(*restrictedendpoints.RestrictedEndpointsAdmissionConfig), scope)
	}); err != nil {
		return err
	}
	if err := s.AddGeneratedConversionFunc((*restrictedendpoints.RestrictedEndpointsAdmissionConfig)(nil), (*RestrictedEndpointsAdmissionConfig)(nil), func(a, b interface{}, scope conversion.Scope) error {
		return Convert_restrictedendpoints_RestrictedEndpointsAdmissionConfig_To_v1_RestrictedEndpointsAdmissionConfig(a.(*restrictedendpoints.RestrictedEndpointsAdmissionConfig), b.(*RestrictedEndpointsAdmissionConfig), scope)
	}); err != nil {
		return err
	}
	return nil
}
// RegisterConversions adds conversion functions to the given scheme.
// Public to allow building arbitrary schemes.
RegisterConversions adds conversion functions to the given scheme.
Public to allow building arbitrary schemes.
// RegisterConversions adds conversion functions to the given scheme . // Public to allow building arbitrary schemes .
func RegisterConversions(s *runtime.Scheme) error {
	if err := s.AddGeneratedConversionFunc((*RestrictedEndpointsAdmissionConfig)(nil), (*restrictedendpoints.RestrictedEndpointsAdmissionConfig)(nil), func(a, b interface{}, scope conversion.Scope) error {
		return Convert_v1_RestrictedEndpointsAdmissionConfig_To_restrictedendpoints_RestrictedEndpointsAdmissionConfig(a.(*RestrictedEndpointsAdmissionConfig), b.(*restrictedendpoints.RestrictedEndpointsAdmissionConfig), scope)
	}); err != nil {
		return err
	}
	if err := s.AddGeneratedConversionFunc((*restrictedendpoints.RestrictedEndpointsAdmissionConfig)(nil), (*RestrictedEndpointsAdmissionConfig)(nil), func(a, b interface{}, scope conversion.Scope) error {
		return Convert_restrictedendpoints_RestrictedEndpointsAdmissionConfig_To_v1_RestrictedEndpointsAdmissionConfig(a.(*restrictedendpoints.RestrictedEndpointsAdmissionConfig), b.(*RestrictedEndpointsAdmissionConfig), scope)
	}); err != nil {
		return err
	}
	return nil
}
func RegisterConversions ( s * runtime . Scheme ) error { if err := s . AddGeneratedConversionFunc ( ( * RestrictedEndpointsAdmissionConfig ) ( nil ) , ( * restrictedendpoints . RestrictedEndpointsAdmissionConfig ) ( nil ) , func ( a , b interface { } , scope conversion . Scope ) error { return Convert_v1_RestrictedEndpointsAdmissionConfig_To_restrictedendpoints_RestrictedEndpointsAdmissionConfig ( a . ( * RestrictedEndpointsAdmissionConfig ) , b . ( * restrictedendpoints . RestrictedEndpointsAdmissionConfig ) , scope ) } ) ; err != nil { return err } if err := s . AddGeneratedConversionFunc ( ( * restrictedendpoints . RestrictedEndpointsAdmissionConfig ) ( nil ) , ( * RestrictedEndpointsAdmissionConfig ) ( nil ) , func ( a , b interface { } , scope conversion . Scope ) error { return Convert_restrictedendpoints_RestrictedEndpointsAdmissionConfig_To_v1_RestrictedEndpointsAdmissionConfig ( a . ( * restrictedendpoints . RestrictedEndpointsAdmissionConfig ) , b . ( * RestrictedEndpointsAdmissionConfig ) , scope ) } ) ; err != nil { return err } return nil }
RegisterConversions adds conversion functions to the given scheme.
RegisterConversions adds conversion functions to the given scheme .