Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeKedaV1alpha1
- type FakeScaledObjects
- func (c *FakeScaledObjects) Create(scaledObject *v1alpha1.ScaledObject) (result *v1alpha1.ScaledObject, err error)
- func (c *FakeScaledObjects) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeScaledObjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeScaledObjects) Get(name string, options v1.GetOptions) (result *v1alpha1.ScaledObject, err error)
- func (c *FakeScaledObjects) List(opts v1.ListOptions) (result *v1alpha1.ScaledObjectList, err error)
- func (c *FakeScaledObjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ScaledObject, err error)
- func (c *FakeScaledObjects) Update(scaledObject *v1alpha1.ScaledObject) (result *v1alpha1.ScaledObject, err error)
- func (c *FakeScaledObjects) UpdateStatus(scaledObject *v1alpha1.ScaledObject) (*v1alpha1.ScaledObject, error)
- func (c *FakeScaledObjects) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeKedaV1alpha1 ¶
func (*FakeKedaV1alpha1) RESTClient ¶
func (c *FakeKedaV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeKedaV1alpha1) ScaledObjects ¶
func (c *FakeKedaV1alpha1) ScaledObjects(namespace string) v1alpha1.ScaledObjectInterface
type FakeScaledObjects ¶
type FakeScaledObjects struct { Fake *FakeKedaV1alpha1 // contains filtered or unexported fields }
FakeScaledObjects implements ScaledObjectInterface
func (*FakeScaledObjects) Create ¶
func (c *FakeScaledObjects) Create(scaledObject *v1alpha1.ScaledObject) (result *v1alpha1.ScaledObject, err error)
Create takes the representation of a scaledObject and creates it. Returns the server's representation of the scaledObject, and an error, if there is any.
func (*FakeScaledObjects) Delete ¶
func (c *FakeScaledObjects) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the scaledObject and deletes it. Returns an error if one occurs.
func (*FakeScaledObjects) DeleteCollection ¶
func (c *FakeScaledObjects) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeScaledObjects) Get ¶
func (c *FakeScaledObjects) Get(name string, options v1.GetOptions) (result *v1alpha1.ScaledObject, err error)
Get takes name of the scaledObject, and returns the corresponding scaledObject object, and an error if there is any.
func (*FakeScaledObjects) List ¶
func (c *FakeScaledObjects) List(opts v1.ListOptions) (result *v1alpha1.ScaledObjectList, err error)
List takes label and field selectors, and returns the list of ScaledObjects that match those selectors.
func (*FakeScaledObjects) Patch ¶
func (c *FakeScaledObjects) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ScaledObject, err error)
Patch applies the patch and returns the patched scaledObject.
func (*FakeScaledObjects) Update ¶
func (c *FakeScaledObjects) Update(scaledObject *v1alpha1.ScaledObject) (result *v1alpha1.ScaledObject, err error)
Update takes the representation of a scaledObject and updates it. Returns the server's representation of the scaledObject, and an error, if there is any.
func (*FakeScaledObjects) UpdateStatus ¶
func (c *FakeScaledObjects) UpdateStatus(scaledObject *v1alpha1.ScaledObject) (*v1alpha1.ScaledObject, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeScaledObjects) Watch ¶
func (c *FakeScaledObjects) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested scaledObjects.