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