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