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