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