code: func NewScaleConverter() *ScaleConverter {
  	scheme := runtime.NewScheme()
  	utilruntime.Must(scaleautoscaling.AddToScheme(scheme))
  	utilruntime.Must(scalescheme.AddToScheme(scheme))
  	utilruntime.Must(scaleext.AddToScheme(scheme))
  	utilruntime.Must(scaleextint.AddToScheme(scheme))
  	utilruntime.Must(scaleappsint.AddToScheme(scheme))
  	utilruntime.Must(scaleappsv1beta1.AddToScheme(scheme))
  	utilruntime.Must(scaleappsv1beta2.AddToScheme(scheme))
  
  	return &ScaleConverter{
  		scheme: scheme,
  		codecs: serializer.NewCodecFactory(scheme),
  		internalVersioner: runtime.NewMultiGroupVersioner(
  			scalescheme.SchemeGroupVersion,
  			schema.GroupKind{Group: scaleext.GroupName, Kind: "Scale"},
  			schema.GroupKind{Group: scaleautoscaling.GroupName, Kind: "Scale"},
  			schema.GroupKind{Group: scaleappsv1beta1.GroupName, Kind: "Scale"},
  			schema.GroupKind{Group: scaleappsv1beta2.GroupName, Kind: "Scale"},
  		),
  	}
  }
docs: // NewScaleConverter creates a new ScaleConverter for converting between
  // Scales in autoscaling/v1 and extensions/v1beta1.