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