fake

package
v1.8.0-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 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)

func (*FakeNodeMetricses) List

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

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)

func (*FakePodMetricses) List

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

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