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