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