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