type FakeNodeMetricses … var nodemetricsesResource … var nodemetricsesKind … // Get takes name of the nodeMetrics, and returns the corresponding nodeMetrics object, and an error if there is any. func (c *FakeNodeMetricses) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NodeMetrics, err error) { … } // List takes label and field selectors, and returns the list of NodeMetricses that match those selectors. func (c *FakeNodeMetricses) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NodeMetricsList, err error) { … } // Watch returns a watch.Interface that watches the requested nodeMetricses. func (c *FakeNodeMetricses) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error) { … }