kubernetes/staging/src/k8s.io/metrics/pkg/client/custom_metrics/fake/fake_client.go

type GetForActionImpl

type GetForAction

func (i GetForActionImpl) GetMetricName() string {}

func (i GetForActionImpl) GetLabelSelector() labels.Selector {}

func (i GetForActionImpl) GetSubresource() string {}

func (i GetForActionImpl) DeepCopy() testing.Action {}

func NewGetForAction(groupKind schema.GroupKind, namespace, name string, metricName string, labelSelector labels.Selector) GetForActionImpl {}

func NewRootGetForAction(groupKind schema.GroupKind, name string, metricName string, labelSelector labels.Selector) GetForActionImpl {}

type FakeCustomMetricsClient

func (c *FakeCustomMetricsClient) RootScopedMetrics() cmclient.MetricsInterface {}

func (c *FakeCustomMetricsClient) NamespacedMetrics(namespace string) cmclient.MetricsInterface {}

type fakeNamespacedMetrics

func (m *fakeNamespacedMetrics) GetForObject(groupKind schema.GroupKind, name string, metricName string, metricSelector labels.Selector) (*v1beta2.MetricValue, error) {}

func (m *fakeNamespacedMetrics) GetForObjects(groupKind schema.GroupKind, selector labels.Selector, metricName string, metricSelector labels.Selector) (*v1beta2.MetricValueList, error) {}

type fakeRootScopedMetrics

func (m *fakeRootScopedMetrics) GetForObject(groupKind schema.GroupKind, name string, metricName string, metricSelector labels.Selector) (*v1beta2.MetricValue, error) {}

func (m *fakeRootScopedMetrics) GetForObjects(groupKind schema.GroupKind, selector labels.Selector, metricName string, metricSelector labels.Selector) (*v1beta2.MetricValueList, error) {}