code: func (c *FakeNetworkPolicies) Delete(name string, options *v1.DeleteOptions) error {
  	_, err := c.Fake.
  		Invokes(testing.NewDeleteAction(networkpoliciesResource, c.ns, name), &v1beta1.NetworkPolicy{})
  
  	return err
  }
docs: // Delete takes name of the networkPolicy and deletes it. Returns an error if one occurs.