code: func (c *FakeMiddlewares) Get(name string, options v1.GetOptions) (result *v1alpha1.Middleware, err error) {
  	obj, err := c.Fake.
  		Invokes(testing.NewGetAction(middlewaresResource, c.ns, name), &v1alpha1.Middleware{})
  
  	if obj == nil {
  		return nil, err
  	}
  	return obj.(*v1alpha1.Middleware), err
  }
docs: // Get takes name of the middleware, and returns the corresponding middleware object, and an error if there is any.