type FakeMetricsV1alpha1 … func (c *FakeMetricsV1alpha1) NodeMetricses() v1alpha1.NodeMetricsInterface { … } func (c *FakeMetricsV1alpha1) PodMetricses(namespace string) v1alpha1.PodMetricsInterface { … } // RESTClient returns a RESTClient that is used to communicate // with API server by this client implementation. func (c *FakeMetricsV1alpha1) RESTClient() rest.Interface { … }