type FakeApiregistrationV1 … func (c *FakeApiregistrationV1) APIServices() v1.APIServiceInterface { … } // RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. func (c *FakeApiregistrationV1) RESTClient() rest.Interface { … }