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 FakeMetricsV1beta1 ¶
func (*FakeMetricsV1beta1) NodeMetricses ¶
func (c *FakeMetricsV1beta1) NodeMetricses() v1beta1.NodeMetricsInterface
func (*FakeMetricsV1beta1) PodMetricses ¶
func (c *FakeMetricsV1beta1) PodMetricses(namespace string) v1beta1.PodMetricsInterface
func (*FakeMetricsV1beta1) RESTClient ¶
func (c *FakeMetricsV1beta1) 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 *FakeMetricsV1beta1
}
FakeNodeMetricses implements NodeMetricsInterface
func (*FakeNodeMetricses) Get ¶
func (c *FakeNodeMetricses) Get(name string, options v1.GetOptions) (result *v1beta1.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 *v1beta1.NodeMetricsList, err error)
List takes label and field selectors, and returns the list of NodeMetricses that match those selectors.
func (*FakeNodeMetricses) Watch ¶
func (c *FakeNodeMetricses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeMetricses.
type FakePodMetricses ¶
type FakePodMetricses struct { Fake *FakeMetricsV1beta1 // contains filtered or unexported fields }
FakePodMetricses implements PodMetricsInterface
func (*FakePodMetricses) Get ¶
func (c *FakePodMetricses) Get(name string, options v1.GetOptions) (result *v1beta1.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 *v1beta1.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.