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