fake

package
v0.0.0-...-4eadfbb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2017 License: Apache-2.0, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeMetricsV1alpha1

type FakeMetricsV1alpha1 struct {
	*testing.Fake
}

func (*FakeMetricsV1alpha1) NodeMetricses

func (*FakeMetricsV1alpha1) PodMetricses

func (c *FakeMetricsV1alpha1) PodMetricses(namespace string) v1alpha1.PodMetricsInterface

func (*FakeMetricsV1alpha1) RESTClient

func (c *FakeMetricsV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type FakeNodeMetricses

type FakeNodeMetricses struct {
	Fake *FakeMetricsV1alpha1
}

FakeNodeMetricses implements NodeMetricsInterface

func (*FakeNodeMetricses) Get

func (c *FakeNodeMetricses) Get(name string, options v1.GetOptions) (result *v1alpha1.NodeMetrics, err error)

Get takes name of the nodeMetrics, and returns the corresponding nodeMetrics object, and an error if there is any.

func (*FakeNodeMetricses) List

func (c *FakeNodeMetricses) List(opts v1.ListOptions) (result *v1alpha1.NodeMetricsList, err error)

List takes label and field selectors, and returns the list of NodeMetricses that match those selectors.

func (*FakeNodeMetricses) Watch

Watch returns a watch.Interface that watches the requested nodeMetricses.

type FakePodMetricses

type FakePodMetricses struct {
	Fake *FakeMetricsV1alpha1
	// contains filtered or unexported fields
}

FakePodMetricses implements PodMetricsInterface

func (*FakePodMetricses) Get

func (c *FakePodMetricses) Get(name string, options v1.GetOptions) (result *v1alpha1.PodMetrics, err error)

Get takes name of the podMetrics, and returns the corresponding podMetrics object, and an error if there is any.

func (*FakePodMetricses) List

func (c *FakePodMetricses) List(opts v1.ListOptions) (result *v1alpha1.PodMetricsList, err error)

List takes label and field selectors, and returns the list of PodMetricses that match those selectors.

func (*FakePodMetricses) Watch

func (c *FakePodMetricses) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested podMetricses.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL