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