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