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