code: func (c *FakeIngressRoutes) Update(ingressRoute *v1alpha1.IngressRoute) (result *v1alpha1.IngressRoute, err error) {
  	obj, err := c.Fake.
  		Invokes(testing.NewUpdateAction(ingressroutesResource, c.ns, ingressRoute), &v1alpha1.IngressRoute{})
  
  	if obj == nil {
  		return nil, err
  	}
  	return obj.(*v1alpha1.IngressRoute), err
  }
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.