type FakeBatchV1beta1 … func (c *FakeBatchV1beta1) CronJobs(namespace string) v1beta1.CronJobInterface { … } // RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. func (c *FakeBatchV1beta1) RESTClient() rest.Interface { … }