code: func (c *FakeDeployments) Create(deployment *v1beta2.Deployment) (result *v1beta2.Deployment, err error) {
  	obj, err := c.Fake.
  		Invokes(testing.NewCreateAction(deploymentsResource, c.ns, deployment), &v1beta2.Deployment{})
  
  	if obj == nil {
  		return nil, err
  	}
  	return obj.(*v1beta2.Deployment), err
  }
docs: // Create takes the representation of a deployment and creates it.  Returns the server's representation of the deployment, and an error, if there is any.