Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeKubeflowV1
- func (c *FakeKubeflowV1) MPIJobs(namespace string) v1.MPIJobInterface
- func (c *FakeKubeflowV1) MXJobs(namespace string) v1.MXJobInterface
- func (c *FakeKubeflowV1) PaddleJobs(namespace string) v1.PaddleJobInterface
- func (c *FakeKubeflowV1) PyTorchJobs(namespace string) v1.PyTorchJobInterface
- func (c *FakeKubeflowV1) RESTClient() rest.Interface
- func (c *FakeKubeflowV1) TFJobs(namespace string) v1.TFJobInterface
- func (c *FakeKubeflowV1) XGBoostJobs(namespace string) v1.XGBoostJobInterface
- type FakeMPIJobs
- func (c *FakeMPIJobs) Create(ctx context.Context, mPIJob *v1.MPIJob, opts metav1.CreateOptions) (result *v1.MPIJob, err error)
- func (c *FakeMPIJobs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeMPIJobs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeMPIJobs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.MPIJob, err error)
- func (c *FakeMPIJobs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.MPIJobList, err error)
- func (c *FakeMPIJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.MPIJob, err error)
- func (c *FakeMPIJobs) Update(ctx context.Context, mPIJob *v1.MPIJob, opts metav1.UpdateOptions) (result *v1.MPIJob, err error)
- func (c *FakeMPIJobs) UpdateStatus(ctx context.Context, mPIJob *v1.MPIJob, opts metav1.UpdateOptions) (*v1.MPIJob, error)
- func (c *FakeMPIJobs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeMXJobs
- func (c *FakeMXJobs) Create(ctx context.Context, mXJob *v1.MXJob, opts metav1.CreateOptions) (result *v1.MXJob, err error)
- func (c *FakeMXJobs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeMXJobs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeMXJobs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.MXJob, err error)
- func (c *FakeMXJobs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.MXJobList, err error)
- func (c *FakeMXJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.MXJob, err error)
- func (c *FakeMXJobs) Update(ctx context.Context, mXJob *v1.MXJob, opts metav1.UpdateOptions) (result *v1.MXJob, err error)
- func (c *FakeMXJobs) UpdateStatus(ctx context.Context, mXJob *v1.MXJob, opts metav1.UpdateOptions) (*v1.MXJob, error)
- func (c *FakeMXJobs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakePaddleJobs
- func (c *FakePaddleJobs) Create(ctx context.Context, paddleJob *v1.PaddleJob, opts metav1.CreateOptions) (result *v1.PaddleJob, err error)
- func (c *FakePaddleJobs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakePaddleJobs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakePaddleJobs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.PaddleJob, err error)
- func (c *FakePaddleJobs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PaddleJobList, err error)
- func (c *FakePaddleJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.PaddleJob, err error)
- func (c *FakePaddleJobs) Update(ctx context.Context, paddleJob *v1.PaddleJob, opts metav1.UpdateOptions) (result *v1.PaddleJob, err error)
- func (c *FakePaddleJobs) UpdateStatus(ctx context.Context, paddleJob *v1.PaddleJob, opts metav1.UpdateOptions) (*v1.PaddleJob, error)
- func (c *FakePaddleJobs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakePyTorchJobs
- func (c *FakePyTorchJobs) Create(ctx context.Context, pyTorchJob *v1.PyTorchJob, opts metav1.CreateOptions) (result *v1.PyTorchJob, err error)
- func (c *FakePyTorchJobs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakePyTorchJobs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakePyTorchJobs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.PyTorchJob, err error)
- func (c *FakePyTorchJobs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PyTorchJobList, err error)
- func (c *FakePyTorchJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.PyTorchJob, err error)
- func (c *FakePyTorchJobs) Update(ctx context.Context, pyTorchJob *v1.PyTorchJob, opts metav1.UpdateOptions) (result *v1.PyTorchJob, err error)
- func (c *FakePyTorchJobs) UpdateStatus(ctx context.Context, pyTorchJob *v1.PyTorchJob, opts metav1.UpdateOptions) (*v1.PyTorchJob, error)
- func (c *FakePyTorchJobs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeTFJobs
- func (c *FakeTFJobs) Create(ctx context.Context, tFJob *v1.TFJob, opts metav1.CreateOptions) (result *v1.TFJob, err error)
- func (c *FakeTFJobs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeTFJobs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeTFJobs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.TFJob, err error)
- func (c *FakeTFJobs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.TFJobList, err error)
- func (c *FakeTFJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.TFJob, err error)
- func (c *FakeTFJobs) Update(ctx context.Context, tFJob *v1.TFJob, opts metav1.UpdateOptions) (result *v1.TFJob, err error)
- func (c *FakeTFJobs) UpdateStatus(ctx context.Context, tFJob *v1.TFJob, opts metav1.UpdateOptions) (*v1.TFJob, error)
- func (c *FakeTFJobs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeXGBoostJobs
- func (c *FakeXGBoostJobs) Create(ctx context.Context, xGBoostJob *v1.XGBoostJob, opts metav1.CreateOptions) (result *v1.XGBoostJob, err error)
- func (c *FakeXGBoostJobs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeXGBoostJobs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeXGBoostJobs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.XGBoostJob, err error)
- func (c *FakeXGBoostJobs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.XGBoostJobList, err error)
- func (c *FakeXGBoostJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.XGBoostJob, err error)
- func (c *FakeXGBoostJobs) Update(ctx context.Context, xGBoostJob *v1.XGBoostJob, opts metav1.UpdateOptions) (result *v1.XGBoostJob, err error)
- func (c *FakeXGBoostJobs) UpdateStatus(ctx context.Context, xGBoostJob *v1.XGBoostJob, opts metav1.UpdateOptions) (*v1.XGBoostJob, error)
- func (c *FakeXGBoostJobs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeKubeflowV1 ¶
func (*FakeKubeflowV1) MPIJobs ¶
func (c *FakeKubeflowV1) MPIJobs(namespace string) v1.MPIJobInterface
func (*FakeKubeflowV1) MXJobs ¶
func (c *FakeKubeflowV1) MXJobs(namespace string) v1.MXJobInterface
func (*FakeKubeflowV1) PaddleJobs ¶ added in v1.6.0
func (c *FakeKubeflowV1) PaddleJobs(namespace string) v1.PaddleJobInterface
func (*FakeKubeflowV1) PyTorchJobs ¶
func (c *FakeKubeflowV1) PyTorchJobs(namespace string) v1.PyTorchJobInterface
func (*FakeKubeflowV1) RESTClient ¶
func (c *FakeKubeflowV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeKubeflowV1) TFJobs ¶
func (c *FakeKubeflowV1) TFJobs(namespace string) v1.TFJobInterface
func (*FakeKubeflowV1) XGBoostJobs ¶
func (c *FakeKubeflowV1) XGBoostJobs(namespace string) v1.XGBoostJobInterface
type FakeMPIJobs ¶
type FakeMPIJobs struct { Fake *FakeKubeflowV1 // contains filtered or unexported fields }
FakeMPIJobs implements MPIJobInterface
func (*FakeMPIJobs) Create ¶
func (c *FakeMPIJobs) Create(ctx context.Context, mPIJob *v1.MPIJob, opts metav1.CreateOptions) (result *v1.MPIJob, err error)
Create takes the representation of a mPIJob and creates it. Returns the server's representation of the mPIJob, and an error, if there is any.
func (*FakeMPIJobs) Delete ¶
func (c *FakeMPIJobs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the mPIJob and deletes it. Returns an error if one occurs.
func (*FakeMPIJobs) DeleteCollection ¶
func (c *FakeMPIJobs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMPIJobs) Get ¶
func (c *FakeMPIJobs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.MPIJob, err error)
Get takes name of the mPIJob, and returns the corresponding mPIJob object, and an error if there is any.
func (*FakeMPIJobs) List ¶
func (c *FakeMPIJobs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.MPIJobList, err error)
List takes label and field selectors, and returns the list of MPIJobs that match those selectors.
func (*FakeMPIJobs) Patch ¶
func (c *FakeMPIJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.MPIJob, err error)
Patch applies the patch and returns the patched mPIJob.
func (*FakeMPIJobs) Update ¶
func (c *FakeMPIJobs) Update(ctx context.Context, mPIJob *v1.MPIJob, opts metav1.UpdateOptions) (result *v1.MPIJob, err error)
Update takes the representation of a mPIJob and updates it. Returns the server's representation of the mPIJob, and an error, if there is any.
func (*FakeMPIJobs) UpdateStatus ¶
func (c *FakeMPIJobs) UpdateStatus(ctx context.Context, mPIJob *v1.MPIJob, opts metav1.UpdateOptions) (*v1.MPIJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMPIJobs) Watch ¶
func (c *FakeMPIJobs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mPIJobs.
type FakeMXJobs ¶
type FakeMXJobs struct { Fake *FakeKubeflowV1 // contains filtered or unexported fields }
FakeMXJobs implements MXJobInterface
func (*FakeMXJobs) Create ¶
func (c *FakeMXJobs) Create(ctx context.Context, mXJob *v1.MXJob, opts metav1.CreateOptions) (result *v1.MXJob, err error)
Create takes the representation of a mXJob and creates it. Returns the server's representation of the mXJob, and an error, if there is any.
func (*FakeMXJobs) Delete ¶
func (c *FakeMXJobs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the mXJob and deletes it. Returns an error if one occurs.
func (*FakeMXJobs) DeleteCollection ¶
func (c *FakeMXJobs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMXJobs) Get ¶
func (c *FakeMXJobs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.MXJob, err error)
Get takes name of the mXJob, and returns the corresponding mXJob object, and an error if there is any.
func (*FakeMXJobs) List ¶
func (c *FakeMXJobs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.MXJobList, err error)
List takes label and field selectors, and returns the list of MXJobs that match those selectors.
func (*FakeMXJobs) Patch ¶
func (c *FakeMXJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.MXJob, err error)
Patch applies the patch and returns the patched mXJob.
func (*FakeMXJobs) Update ¶
func (c *FakeMXJobs) Update(ctx context.Context, mXJob *v1.MXJob, opts metav1.UpdateOptions) (result *v1.MXJob, err error)
Update takes the representation of a mXJob and updates it. Returns the server's representation of the mXJob, and an error, if there is any.
func (*FakeMXJobs) UpdateStatus ¶
func (c *FakeMXJobs) UpdateStatus(ctx context.Context, mXJob *v1.MXJob, opts metav1.UpdateOptions) (*v1.MXJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMXJobs) Watch ¶
func (c *FakeMXJobs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mXJobs.
type FakePaddleJobs ¶ added in v1.6.0
type FakePaddleJobs struct { Fake *FakeKubeflowV1 // contains filtered or unexported fields }
FakePaddleJobs implements PaddleJobInterface
func (*FakePaddleJobs) Create ¶ added in v1.6.0
func (c *FakePaddleJobs) Create(ctx context.Context, paddleJob *v1.PaddleJob, opts metav1.CreateOptions) (result *v1.PaddleJob, err error)
Create takes the representation of a paddleJob and creates it. Returns the server's representation of the paddleJob, and an error, if there is any.
func (*FakePaddleJobs) Delete ¶ added in v1.6.0
func (c *FakePaddleJobs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the paddleJob and deletes it. Returns an error if one occurs.
func (*FakePaddleJobs) DeleteCollection ¶ added in v1.6.0
func (c *FakePaddleJobs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePaddleJobs) Get ¶ added in v1.6.0
func (c *FakePaddleJobs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.PaddleJob, err error)
Get takes name of the paddleJob, and returns the corresponding paddleJob object, and an error if there is any.
func (*FakePaddleJobs) List ¶ added in v1.6.0
func (c *FakePaddleJobs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PaddleJobList, err error)
List takes label and field selectors, and returns the list of PaddleJobs that match those selectors.
func (*FakePaddleJobs) Patch ¶ added in v1.6.0
func (c *FakePaddleJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.PaddleJob, err error)
Patch applies the patch and returns the patched paddleJob.
func (*FakePaddleJobs) Update ¶ added in v1.6.0
func (c *FakePaddleJobs) Update(ctx context.Context, paddleJob *v1.PaddleJob, opts metav1.UpdateOptions) (result *v1.PaddleJob, err error)
Update takes the representation of a paddleJob and updates it. Returns the server's representation of the paddleJob, and an error, if there is any.
func (*FakePaddleJobs) UpdateStatus ¶ added in v1.6.0
func (c *FakePaddleJobs) UpdateStatus(ctx context.Context, paddleJob *v1.PaddleJob, opts metav1.UpdateOptions) (*v1.PaddleJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePaddleJobs) Watch ¶ added in v1.6.0
func (c *FakePaddleJobs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested paddleJobs.
type FakePyTorchJobs ¶
type FakePyTorchJobs struct { Fake *FakeKubeflowV1 // contains filtered or unexported fields }
FakePyTorchJobs implements PyTorchJobInterface
func (*FakePyTorchJobs) Create ¶
func (c *FakePyTorchJobs) Create(ctx context.Context, pyTorchJob *v1.PyTorchJob, opts metav1.CreateOptions) (result *v1.PyTorchJob, err error)
Create takes the representation of a pyTorchJob and creates it. Returns the server's representation of the pyTorchJob, and an error, if there is any.
func (*FakePyTorchJobs) Delete ¶
func (c *FakePyTorchJobs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the pyTorchJob and deletes it. Returns an error if one occurs.
func (*FakePyTorchJobs) DeleteCollection ¶
func (c *FakePyTorchJobs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePyTorchJobs) Get ¶
func (c *FakePyTorchJobs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.PyTorchJob, err error)
Get takes name of the pyTorchJob, and returns the corresponding pyTorchJob object, and an error if there is any.
func (*FakePyTorchJobs) List ¶
func (c *FakePyTorchJobs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.PyTorchJobList, err error)
List takes label and field selectors, and returns the list of PyTorchJobs that match those selectors.
func (*FakePyTorchJobs) Patch ¶
func (c *FakePyTorchJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.PyTorchJob, err error)
Patch applies the patch and returns the patched pyTorchJob.
func (*FakePyTorchJobs) Update ¶
func (c *FakePyTorchJobs) Update(ctx context.Context, pyTorchJob *v1.PyTorchJob, opts metav1.UpdateOptions) (result *v1.PyTorchJob, err error)
Update takes the representation of a pyTorchJob and updates it. Returns the server's representation of the pyTorchJob, and an error, if there is any.
func (*FakePyTorchJobs) UpdateStatus ¶
func (c *FakePyTorchJobs) UpdateStatus(ctx context.Context, pyTorchJob *v1.PyTorchJob, opts metav1.UpdateOptions) (*v1.PyTorchJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePyTorchJobs) Watch ¶
func (c *FakePyTorchJobs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pyTorchJobs.
type FakeTFJobs ¶
type FakeTFJobs struct { Fake *FakeKubeflowV1 // contains filtered or unexported fields }
FakeTFJobs implements TFJobInterface
func (*FakeTFJobs) Create ¶
func (c *FakeTFJobs) Create(ctx context.Context, tFJob *v1.TFJob, opts metav1.CreateOptions) (result *v1.TFJob, err error)
Create takes the representation of a tFJob and creates it. Returns the server's representation of the tFJob, and an error, if there is any.
func (*FakeTFJobs) Delete ¶
func (c *FakeTFJobs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the tFJob and deletes it. Returns an error if one occurs.
func (*FakeTFJobs) DeleteCollection ¶
func (c *FakeTFJobs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTFJobs) Get ¶
func (c *FakeTFJobs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.TFJob, err error)
Get takes name of the tFJob, and returns the corresponding tFJob object, and an error if there is any.
func (*FakeTFJobs) List ¶
func (c *FakeTFJobs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.TFJobList, err error)
List takes label and field selectors, and returns the list of TFJobs that match those selectors.
func (*FakeTFJobs) Patch ¶
func (c *FakeTFJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.TFJob, err error)
Patch applies the patch and returns the patched tFJob.
func (*FakeTFJobs) Update ¶
func (c *FakeTFJobs) Update(ctx context.Context, tFJob *v1.TFJob, opts metav1.UpdateOptions) (result *v1.TFJob, err error)
Update takes the representation of a tFJob and updates it. Returns the server's representation of the tFJob, and an error, if there is any.
func (*FakeTFJobs) UpdateStatus ¶
func (c *FakeTFJobs) UpdateStatus(ctx context.Context, tFJob *v1.TFJob, opts metav1.UpdateOptions) (*v1.TFJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTFJobs) Watch ¶
func (c *FakeTFJobs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested tFJobs.
type FakeXGBoostJobs ¶
type FakeXGBoostJobs struct { Fake *FakeKubeflowV1 // contains filtered or unexported fields }
FakeXGBoostJobs implements XGBoostJobInterface
func (*FakeXGBoostJobs) Create ¶
func (c *FakeXGBoostJobs) Create(ctx context.Context, xGBoostJob *v1.XGBoostJob, opts metav1.CreateOptions) (result *v1.XGBoostJob, err error)
Create takes the representation of a xGBoostJob and creates it. Returns the server's representation of the xGBoostJob, and an error, if there is any.
func (*FakeXGBoostJobs) Delete ¶
func (c *FakeXGBoostJobs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the xGBoostJob and deletes it. Returns an error if one occurs.
func (*FakeXGBoostJobs) DeleteCollection ¶
func (c *FakeXGBoostJobs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeXGBoostJobs) Get ¶
func (c *FakeXGBoostJobs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.XGBoostJob, err error)
Get takes name of the xGBoostJob, and returns the corresponding xGBoostJob object, and an error if there is any.
func (*FakeXGBoostJobs) List ¶
func (c *FakeXGBoostJobs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.XGBoostJobList, err error)
List takes label and field selectors, and returns the list of XGBoostJobs that match those selectors.
func (*FakeXGBoostJobs) Patch ¶
func (c *FakeXGBoostJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.XGBoostJob, err error)
Patch applies the patch and returns the patched xGBoostJob.
func (*FakeXGBoostJobs) Update ¶
func (c *FakeXGBoostJobs) Update(ctx context.Context, xGBoostJob *v1.XGBoostJob, opts metav1.UpdateOptions) (result *v1.XGBoostJob, err error)
Update takes the representation of a xGBoostJob and updates it. Returns the server's representation of the xGBoostJob, and an error, if there is any.
func (*FakeXGBoostJobs) UpdateStatus ¶
func (c *FakeXGBoostJobs) UpdateStatus(ctx context.Context, xGBoostJob *v1.XGBoostJob, opts metav1.UpdateOptions) (*v1.XGBoostJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeXGBoostJobs) Watch ¶
func (c *FakeXGBoostJobs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested xGBoostJobs.