code: func (c *deployments) Update(deployment *v1.Deployment) (result *v1.Deployment, err error) {
  	result = &v1.Deployment{}
  	err = c.client.Put().
  		Namespace(c.ns).
  		Resource("deployments").
  		Name(deployment.Name).
  		Body(deployment).
  		Do().
  		Into(result)
  	return
  }
docs: // Update takes the representation of a deployment and updates it. Returns the server's representation of the deployment, and an error, if there is any.