code: func (c *statefulSets) GetScale(statefulSetName string, options metav1.GetOptions) (result *autoscalingv1.Scale, err error) {
  	result = &autoscalingv1.Scale{}
  	err = c.client.Get().
  		Namespace(c.ns).
  		Resource("statefulsets").
  		Name(statefulSetName).
  		SubResource("scale").
  		VersionedParams(&options, scheme.ParameterCodec).
  		Do().
  		Into(result)
  	return
  }
docs: // GetScale takes name of the statefulSet, and returns the corresponding autoscalingv1.Scale object, and an error if there is any.