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