type FakeNetworkingV1 … func (c *FakeNetworkingV1) Ingresses(namespace string) v1.IngressInterface { … } func (c *FakeNetworkingV1) IngressClasses() v1.IngressClassInterface { … } func (c *FakeNetworkingV1) NetworkPolicies(namespace string) v1.NetworkPolicyInterface { … } // RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. func (c *FakeNetworkingV1) RESTClient() rest.Interface { … }