Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeExternalMetrics
- func (c *FakeExternalMetrics) Create(externalMetric *v1alpha1.ExternalMetric) (result *v1alpha1.ExternalMetric, err error)
- func (c *FakeExternalMetrics) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeExternalMetrics) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeExternalMetrics) Get(name string, options v1.GetOptions) (result *v1alpha1.ExternalMetric, err error)
- func (c *FakeExternalMetrics) List(opts v1.ListOptions) (result *v1alpha1.ExternalMetricList, err error)
- func (c *FakeExternalMetrics) Update(externalMetric *v1alpha1.ExternalMetric) (result *v1alpha1.ExternalMetric, err error)
- func (c *FakeExternalMetrics) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeMetricsV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeExternalMetrics ¶
type FakeExternalMetrics struct { Fake *FakeMetricsV1alpha1 // contains filtered or unexported fields }
FakeExternalMetrics implements ExternalMetricInterface
func (*FakeExternalMetrics) Create ¶
func (c *FakeExternalMetrics) Create(externalMetric *v1alpha1.ExternalMetric) (result *v1alpha1.ExternalMetric, err error)
Create takes the representation of a externalMetric and creates it. Returns the server's representation of the externalMetric, and an error, if there is any.
func (*FakeExternalMetrics) Delete ¶
func (c *FakeExternalMetrics) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the externalMetric and deletes it. Returns an error if one occurs.
func (*FakeExternalMetrics) DeleteCollection ¶
func (c *FakeExternalMetrics) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeExternalMetrics) Get ¶
func (c *FakeExternalMetrics) Get(name string, options v1.GetOptions) (result *v1alpha1.ExternalMetric, err error)
Get takes name of the externalMetric, and returns the corresponding externalMetric object, and an error if there is any.
func (*FakeExternalMetrics) List ¶
func (c *FakeExternalMetrics) List(opts v1.ListOptions) (result *v1alpha1.ExternalMetricList, err error)
List takes label and field selectors, and returns the list of ExternalMetrics that match those selectors.
func (*FakeExternalMetrics) Update ¶
func (c *FakeExternalMetrics) Update(externalMetric *v1alpha1.ExternalMetric) (result *v1alpha1.ExternalMetric, err error)
Update takes the representation of a externalMetric and updates it. Returns the server's representation of the externalMetric, and an error, if there is any.
func (*FakeExternalMetrics) Watch ¶
func (c *FakeExternalMetrics) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested externalMetrics.
type FakeMetricsV1alpha1 ¶
func (*FakeMetricsV1alpha1) ExternalMetrics ¶
func (c *FakeMetricsV1alpha1) ExternalMetrics(namespace string) v1alpha1.ExternalMetricInterface
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.