Package fake has the automatically generated clients.
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
FakeCronJobs implements CronJobInterface
Create takes the representation of a cronJob and creates it. Returns the server's representation of the cronJob, and an error, if there is any.
Delete takes name of the cronJob and deletes it. Returns an error if one occurs.
func (c *FakeCronJobs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (c *FakeCronJobs) Get(name string, options v1.GetOptions) (result *v2alpha1.CronJob, err error)
Get takes name of the cronJob, and returns the corresponding cronJob object, and an error if there is any.
List takes label and field selectors, and returns the list of CronJobs that match those selectors.
Patch applies the patch and returns the patched cronJob.
Update takes the representation of a cronJob and updates it. Returns the server's representation of the cronJob, and an error, if there is any.
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
Watch returns a watch.Interface that watches the requested cronJobs.