Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAzureV1alpha1
- type FakeCustomMetrics
- func (c *FakeCustomMetrics) Create(customMetric *v1alpha1.CustomMetric) (result *v1alpha1.CustomMetric, err error)
- func (c *FakeCustomMetrics) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCustomMetrics) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCustomMetrics) Get(name string, options v1.GetOptions) (result *v1alpha1.CustomMetric, err error)
- func (c *FakeCustomMetrics) List(opts v1.ListOptions) (result *v1alpha1.CustomMetricList, err error)
- func (c *FakeCustomMetrics) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CustomMetric, err error)
- func (c *FakeCustomMetrics) Update(customMetric *v1alpha1.CustomMetric) (result *v1alpha1.CustomMetric, err error)
- func (c *FakeCustomMetrics) Watch(opts v1.ListOptions) (watch.Interface, error)
- 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) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ExternalMetric, err error)
- func (c *FakeExternalMetrics) Update(externalMetric *v1alpha1.ExternalMetric) (result *v1alpha1.ExternalMetric, err error)
- func (c *FakeExternalMetrics) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAzureV1alpha1 ¶
func (*FakeAzureV1alpha1) CustomMetrics ¶
func (c *FakeAzureV1alpha1) CustomMetrics(namespace string) v1alpha1.CustomMetricInterface
func (*FakeAzureV1alpha1) ExternalMetrics ¶
func (c *FakeAzureV1alpha1) ExternalMetrics(namespace string) v1alpha1.ExternalMetricInterface
func (*FakeAzureV1alpha1) RESTClient ¶
func (c *FakeAzureV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeCustomMetrics ¶
type FakeCustomMetrics struct { Fake *FakeAzureV1alpha1 // contains filtered or unexported fields }
FakeCustomMetrics implements CustomMetricInterface
func (*FakeCustomMetrics) Create ¶
func (c *FakeCustomMetrics) Create(customMetric *v1alpha1.CustomMetric) (result *v1alpha1.CustomMetric, err error)
Create takes the representation of a customMetric and creates it. Returns the server's representation of the customMetric, and an error, if there is any.
func (*FakeCustomMetrics) Delete ¶
func (c *FakeCustomMetrics) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the customMetric and deletes it. Returns an error if one occurs.
func (*FakeCustomMetrics) DeleteCollection ¶
func (c *FakeCustomMetrics) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCustomMetrics) Get ¶
func (c *FakeCustomMetrics) Get(name string, options v1.GetOptions) (result *v1alpha1.CustomMetric, err error)
Get takes name of the customMetric, and returns the corresponding customMetric object, and an error if there is any.
func (*FakeCustomMetrics) List ¶
func (c *FakeCustomMetrics) List(opts v1.ListOptions) (result *v1alpha1.CustomMetricList, err error)
List takes label and field selectors, and returns the list of CustomMetrics that match those selectors.
func (*FakeCustomMetrics) Patch ¶
func (c *FakeCustomMetrics) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CustomMetric, err error)
Patch applies the patch and returns the patched customMetric.
func (*FakeCustomMetrics) Update ¶
func (c *FakeCustomMetrics) Update(customMetric *v1alpha1.CustomMetric) (result *v1alpha1.CustomMetric, err error)
Update takes the representation of a customMetric and updates it. Returns the server's representation of the customMetric, and an error, if there is any.
func (*FakeCustomMetrics) Watch ¶
func (c *FakeCustomMetrics) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested customMetrics.
type FakeExternalMetrics ¶
type FakeExternalMetrics struct { Fake *FakeAzureV1alpha1 // 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) Patch ¶
func (c *FakeExternalMetrics) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ExternalMetric, err error)
Patch applies the patch and returns the patched externalMetric.
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.