code: func (c *FakeDaemonSets) Update(daemonSet *v1beta1.DaemonSet) (result *v1beta1.DaemonSet, err error) {
  	obj, err := c.Fake.
  		Invokes(testing.NewUpdateAction(daemonsetsResource, c.ns, daemonSet), &v1beta1.DaemonSet{})
  
  	if obj == nil {
  		return nil, err
  	}
  	return obj.(*v1beta1.DaemonSet), err
  }
docs: // Update takes the representation of a daemonSet and updates it. Returns the server's representation of the daemonSet, and an error, if there is any.