code: func (c *statefulSets) UpdateScale(statefulSetName string, scale *autoscalingv1.Scale) (result *autoscalingv1.Scale, err error) {
  	result = &autoscalingv1.Scale{}
  	err = c.client.Put().
  		Namespace(c.ns).
  		Resource("statefulsets").
  		Name(statefulSetName).
  		SubResource("scale").
  		Body(scale).
  		Do().
  		Into(result)
  	return
  }
docs: // UpdateScale takes the top resource name and the representation of a scale and updates it. Returns the server's representation of the scale, and an error, if there is any.