type FakeExternalMetricsClient … func (c *FakeExternalMetricsClient) NamespacedMetrics(namespace string) eclient.MetricsInterface { … } type fakeNamespacedMetrics … func (m *fakeNamespacedMetrics) List(metricName string, metricSelector labels.Selector) (*v1beta1.ExternalMetricValueList, error) { … }