Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeElasticDLJobs
- func (c *FakeElasticDLJobs) Create(ctx context.Context, elasticDLJob *v1alpha1.ElasticDLJob, ...) (result *v1alpha1.ElasticDLJob, err error)
- func (c *FakeElasticDLJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeElasticDLJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeElasticDLJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ElasticDLJob, err error)
- func (c *FakeElasticDLJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ElasticDLJobList, err error)
- func (c *FakeElasticDLJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ElasticDLJob, err error)
- func (c *FakeElasticDLJobs) Update(ctx context.Context, elasticDLJob *v1alpha1.ElasticDLJob, ...) (result *v1alpha1.ElasticDLJob, err error)
- func (c *FakeElasticDLJobs) UpdateStatus(ctx context.Context, elasticDLJob *v1alpha1.ElasticDLJob, ...) (*v1alpha1.ElasticDLJob, error)
- func (c *FakeElasticDLJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMPIJobs
- func (c *FakeMPIJobs) Create(ctx context.Context, mPIJob *v1alpha1.MPIJob, opts v1.CreateOptions) (result *v1alpha1.MPIJob, err error)
- func (c *FakeMPIJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMPIJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMPIJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MPIJob, err error)
- func (c *FakeMPIJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MPIJobList, err error)
- func (c *FakeMPIJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MPIJob, err error)
- func (c *FakeMPIJobs) Update(ctx context.Context, mPIJob *v1alpha1.MPIJob, opts v1.UpdateOptions) (result *v1alpha1.MPIJob, err error)
- func (c *FakeMPIJobs) UpdateStatus(ctx context.Context, mPIJob *v1alpha1.MPIJob, opts v1.UpdateOptions) (*v1alpha1.MPIJob, error)
- func (c *FakeMPIJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMarsJobs
- func (c *FakeMarsJobs) Create(ctx context.Context, marsJob *v1alpha1.MarsJob, opts v1.CreateOptions) (result *v1alpha1.MarsJob, err error)
- func (c *FakeMarsJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMarsJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMarsJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MarsJob, err error)
- func (c *FakeMarsJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MarsJobList, err error)
- func (c *FakeMarsJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MarsJob, err error)
- func (c *FakeMarsJobs) Update(ctx context.Context, marsJob *v1alpha1.MarsJob, opts v1.UpdateOptions) (result *v1alpha1.MarsJob, err error)
- func (c *FakeMarsJobs) UpdateStatus(ctx context.Context, marsJob *v1alpha1.MarsJob, opts v1.UpdateOptions) (*v1alpha1.MarsJob, error)
- func (c *FakeMarsJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePyTorchJobs
- func (c *FakePyTorchJobs) Create(ctx context.Context, pyTorchJob *v1alpha1.PyTorchJob, opts v1.CreateOptions) (result *v1alpha1.PyTorchJob, err error)
- func (c *FakePyTorchJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePyTorchJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePyTorchJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PyTorchJob, err error)
- func (c *FakePyTorchJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PyTorchJobList, err error)
- func (c *FakePyTorchJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PyTorchJob, err error)
- func (c *FakePyTorchJobs) Update(ctx context.Context, pyTorchJob *v1alpha1.PyTorchJob, opts v1.UpdateOptions) (result *v1alpha1.PyTorchJob, err error)
- func (c *FakePyTorchJobs) UpdateStatus(ctx context.Context, pyTorchJob *v1alpha1.PyTorchJob, opts v1.UpdateOptions) (*v1alpha1.PyTorchJob, error)
- func (c *FakePyTorchJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTFJobs
- func (c *FakeTFJobs) Create(ctx context.Context, tFJob *v1alpha1.TFJob, opts v1.CreateOptions) (result *v1alpha1.TFJob, err error)
- func (c *FakeTFJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTFJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTFJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TFJob, err error)
- func (c *FakeTFJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TFJobList, err error)
- func (c *FakeTFJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TFJob, err error)
- func (c *FakeTFJobs) Update(ctx context.Context, tFJob *v1alpha1.TFJob, opts v1.UpdateOptions) (result *v1alpha1.TFJob, err error)
- func (c *FakeTFJobs) UpdateStatus(ctx context.Context, tFJob *v1alpha1.TFJob, opts v1.UpdateOptions) (*v1alpha1.TFJob, error)
- func (c *FakeTFJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTrainingV1alpha1
- func (c *FakeTrainingV1alpha1) ElasticDLJobs(namespace string) v1alpha1.ElasticDLJobInterface
- func (c *FakeTrainingV1alpha1) MPIJobs(namespace string) v1alpha1.MPIJobInterface
- func (c *FakeTrainingV1alpha1) MarsJobs(namespace string) v1alpha1.MarsJobInterface
- func (c *FakeTrainingV1alpha1) PyTorchJobs(namespace string) v1alpha1.PyTorchJobInterface
- func (c *FakeTrainingV1alpha1) RESTClient() rest.Interface
- func (c *FakeTrainingV1alpha1) TFJobs(namespace string) v1alpha1.TFJobInterface
- func (c *FakeTrainingV1alpha1) XDLJobs(namespace string) v1alpha1.XDLJobInterface
- func (c *FakeTrainingV1alpha1) XGBoostJobs(namespace string) v1alpha1.XGBoostJobInterface
- type FakeXDLJobs
- func (c *FakeXDLJobs) Create(ctx context.Context, xDLJob *v1alpha1.XDLJob, opts v1.CreateOptions) (result *v1alpha1.XDLJob, err error)
- func (c *FakeXDLJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeXDLJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeXDLJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.XDLJob, err error)
- func (c *FakeXDLJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.XDLJobList, err error)
- func (c *FakeXDLJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.XDLJob, err error)
- func (c *FakeXDLJobs) Update(ctx context.Context, xDLJob *v1alpha1.XDLJob, opts v1.UpdateOptions) (result *v1alpha1.XDLJob, err error)
- func (c *FakeXDLJobs) UpdateStatus(ctx context.Context, xDLJob *v1alpha1.XDLJob, opts v1.UpdateOptions) (*v1alpha1.XDLJob, error)
- func (c *FakeXDLJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeXGBoostJobs
- func (c *FakeXGBoostJobs) Create(ctx context.Context, xGBoostJob *v1alpha1.XGBoostJob, opts v1.CreateOptions) (result *v1alpha1.XGBoostJob, err error)
- func (c *FakeXGBoostJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeXGBoostJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeXGBoostJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.XGBoostJob, err error)
- func (c *FakeXGBoostJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.XGBoostJobList, err error)
- func (c *FakeXGBoostJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.XGBoostJob, err error)
- func (c *FakeXGBoostJobs) Update(ctx context.Context, xGBoostJob *v1alpha1.XGBoostJob, opts v1.UpdateOptions) (result *v1alpha1.XGBoostJob, err error)
- func (c *FakeXGBoostJobs) UpdateStatus(ctx context.Context, xGBoostJob *v1alpha1.XGBoostJob, opts v1.UpdateOptions) (*v1alpha1.XGBoostJob, error)
- func (c *FakeXGBoostJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeElasticDLJobs ¶
type FakeElasticDLJobs struct { Fake *FakeTrainingV1alpha1 // contains filtered or unexported fields }
FakeElasticDLJobs implements ElasticDLJobInterface
func (*FakeElasticDLJobs) Create ¶
func (c *FakeElasticDLJobs) Create(ctx context.Context, elasticDLJob *v1alpha1.ElasticDLJob, opts v1.CreateOptions) (result *v1alpha1.ElasticDLJob, err error)
Create takes the representation of a elasticDLJob and creates it. Returns the server's representation of the elasticDLJob, and an error, if there is any.
func (*FakeElasticDLJobs) Delete ¶
func (c *FakeElasticDLJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the elasticDLJob and deletes it. Returns an error if one occurs.
func (*FakeElasticDLJobs) DeleteCollection ¶
func (c *FakeElasticDLJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeElasticDLJobs) Get ¶
func (c *FakeElasticDLJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ElasticDLJob, err error)
Get takes name of the elasticDLJob, and returns the corresponding elasticDLJob object, and an error if there is any.
func (*FakeElasticDLJobs) List ¶
func (c *FakeElasticDLJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ElasticDLJobList, err error)
List takes label and field selectors, and returns the list of ElasticDLJobs that match those selectors.
func (*FakeElasticDLJobs) Patch ¶
func (c *FakeElasticDLJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ElasticDLJob, err error)
Patch applies the patch and returns the patched elasticDLJob.
func (*FakeElasticDLJobs) Update ¶
func (c *FakeElasticDLJobs) Update(ctx context.Context, elasticDLJob *v1alpha1.ElasticDLJob, opts v1.UpdateOptions) (result *v1alpha1.ElasticDLJob, err error)
Update takes the representation of a elasticDLJob and updates it. Returns the server's representation of the elasticDLJob, and an error, if there is any.
func (*FakeElasticDLJobs) UpdateStatus ¶
func (c *FakeElasticDLJobs) UpdateStatus(ctx context.Context, elasticDLJob *v1alpha1.ElasticDLJob, opts v1.UpdateOptions) (*v1alpha1.ElasticDLJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeElasticDLJobs) Watch ¶
func (c *FakeElasticDLJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested elasticDLJobs.
type FakeMPIJobs ¶
type FakeMPIJobs struct { Fake *FakeTrainingV1alpha1 // contains filtered or unexported fields }
FakeMPIJobs implements MPIJobInterface
func (*FakeMPIJobs) Create ¶
func (c *FakeMPIJobs) Create(ctx context.Context, mPIJob *v1alpha1.MPIJob, opts v1.CreateOptions) (result *v1alpha1.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 v1.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 v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMPIJobs) Get ¶
func (c *FakeMPIJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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 v1.ListOptions) (result *v1alpha1.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 v1.PatchOptions, subresources ...string) (result *v1alpha1.MPIJob, err error)
Patch applies the patch and returns the patched mPIJob.
func (*FakeMPIJobs) Update ¶
func (c *FakeMPIJobs) Update(ctx context.Context, mPIJob *v1alpha1.MPIJob, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.MPIJob, opts v1.UpdateOptions) (*v1alpha1.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 v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mPIJobs.
type FakeMarsJobs ¶
type FakeMarsJobs struct { Fake *FakeTrainingV1alpha1 // contains filtered or unexported fields }
FakeMarsJobs implements MarsJobInterface
func (*FakeMarsJobs) Create ¶
func (c *FakeMarsJobs) Create(ctx context.Context, marsJob *v1alpha1.MarsJob, opts v1.CreateOptions) (result *v1alpha1.MarsJob, err error)
Create takes the representation of a marsJob and creates it. Returns the server's representation of the marsJob, and an error, if there is any.
func (*FakeMarsJobs) Delete ¶
func (c *FakeMarsJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the marsJob and deletes it. Returns an error if one occurs.
func (*FakeMarsJobs) DeleteCollection ¶
func (c *FakeMarsJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMarsJobs) Get ¶
func (c *FakeMarsJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MarsJob, err error)
Get takes name of the marsJob, and returns the corresponding marsJob object, and an error if there is any.
func (*FakeMarsJobs) List ¶
func (c *FakeMarsJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MarsJobList, err error)
List takes label and field selectors, and returns the list of MarsJobs that match those selectors.
func (*FakeMarsJobs) Patch ¶
func (c *FakeMarsJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MarsJob, err error)
Patch applies the patch and returns the patched marsJob.
func (*FakeMarsJobs) Update ¶
func (c *FakeMarsJobs) Update(ctx context.Context, marsJob *v1alpha1.MarsJob, opts v1.UpdateOptions) (result *v1alpha1.MarsJob, err error)
Update takes the representation of a marsJob and updates it. Returns the server's representation of the marsJob, and an error, if there is any.
func (*FakeMarsJobs) UpdateStatus ¶
func (c *FakeMarsJobs) UpdateStatus(ctx context.Context, marsJob *v1alpha1.MarsJob, opts v1.UpdateOptions) (*v1alpha1.MarsJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMarsJobs) Watch ¶
func (c *FakeMarsJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested marsJobs.
type FakePyTorchJobs ¶
type FakePyTorchJobs struct { Fake *FakeTrainingV1alpha1 // contains filtered or unexported fields }
FakePyTorchJobs implements PyTorchJobInterface
func (*FakePyTorchJobs) Create ¶
func (c *FakePyTorchJobs) Create(ctx context.Context, pyTorchJob *v1alpha1.PyTorchJob, opts v1.CreateOptions) (result *v1alpha1.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 v1.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 v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePyTorchJobs) Get ¶
func (c *FakePyTorchJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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 v1.ListOptions) (result *v1alpha1.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 v1.PatchOptions, subresources ...string) (result *v1alpha1.PyTorchJob, err error)
Patch applies the patch and returns the patched pyTorchJob.
func (*FakePyTorchJobs) Update ¶
func (c *FakePyTorchJobs) Update(ctx context.Context, pyTorchJob *v1alpha1.PyTorchJob, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.PyTorchJob, opts v1.UpdateOptions) (*v1alpha1.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 v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pyTorchJobs.
type FakeTFJobs ¶
type FakeTFJobs struct { Fake *FakeTrainingV1alpha1 // contains filtered or unexported fields }
FakeTFJobs implements TFJobInterface
func (*FakeTFJobs) Create ¶
func (c *FakeTFJobs) Create(ctx context.Context, tFJob *v1alpha1.TFJob, opts v1.CreateOptions) (result *v1alpha1.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 v1.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 v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTFJobs) Get ¶
func (c *FakeTFJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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 v1.ListOptions) (result *v1alpha1.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 v1.PatchOptions, subresources ...string) (result *v1alpha1.TFJob, err error)
Patch applies the patch and returns the patched tFJob.
func (*FakeTFJobs) Update ¶
func (c *FakeTFJobs) Update(ctx context.Context, tFJob *v1alpha1.TFJob, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.TFJob, opts v1.UpdateOptions) (*v1alpha1.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 v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested tFJobs.
type FakeTrainingV1alpha1 ¶
func (*FakeTrainingV1alpha1) ElasticDLJobs ¶
func (c *FakeTrainingV1alpha1) ElasticDLJobs(namespace string) v1alpha1.ElasticDLJobInterface
func (*FakeTrainingV1alpha1) MPIJobs ¶
func (c *FakeTrainingV1alpha1) MPIJobs(namespace string) v1alpha1.MPIJobInterface
func (*FakeTrainingV1alpha1) MarsJobs ¶
func (c *FakeTrainingV1alpha1) MarsJobs(namespace string) v1alpha1.MarsJobInterface
func (*FakeTrainingV1alpha1) PyTorchJobs ¶
func (c *FakeTrainingV1alpha1) PyTorchJobs(namespace string) v1alpha1.PyTorchJobInterface
func (*FakeTrainingV1alpha1) RESTClient ¶
func (c *FakeTrainingV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeTrainingV1alpha1) TFJobs ¶
func (c *FakeTrainingV1alpha1) TFJobs(namespace string) v1alpha1.TFJobInterface
func (*FakeTrainingV1alpha1) XDLJobs ¶
func (c *FakeTrainingV1alpha1) XDLJobs(namespace string) v1alpha1.XDLJobInterface
func (*FakeTrainingV1alpha1) XGBoostJobs ¶
func (c *FakeTrainingV1alpha1) XGBoostJobs(namespace string) v1alpha1.XGBoostJobInterface
type FakeXDLJobs ¶
type FakeXDLJobs struct { Fake *FakeTrainingV1alpha1 // contains filtered or unexported fields }
FakeXDLJobs implements XDLJobInterface
func (*FakeXDLJobs) Create ¶
func (c *FakeXDLJobs) Create(ctx context.Context, xDLJob *v1alpha1.XDLJob, opts v1.CreateOptions) (result *v1alpha1.XDLJob, err error)
Create takes the representation of a xDLJob and creates it. Returns the server's representation of the xDLJob, and an error, if there is any.
func (*FakeXDLJobs) Delete ¶
func (c *FakeXDLJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the xDLJob and deletes it. Returns an error if one occurs.
func (*FakeXDLJobs) DeleteCollection ¶
func (c *FakeXDLJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeXDLJobs) Get ¶
func (c *FakeXDLJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.XDLJob, err error)
Get takes name of the xDLJob, and returns the corresponding xDLJob object, and an error if there is any.
func (*FakeXDLJobs) List ¶
func (c *FakeXDLJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.XDLJobList, err error)
List takes label and field selectors, and returns the list of XDLJobs that match those selectors.
func (*FakeXDLJobs) Patch ¶
func (c *FakeXDLJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.XDLJob, err error)
Patch applies the patch and returns the patched xDLJob.
func (*FakeXDLJobs) Update ¶
func (c *FakeXDLJobs) Update(ctx context.Context, xDLJob *v1alpha1.XDLJob, opts v1.UpdateOptions) (result *v1alpha1.XDLJob, err error)
Update takes the representation of a xDLJob and updates it. Returns the server's representation of the xDLJob, and an error, if there is any.
func (*FakeXDLJobs) UpdateStatus ¶
func (c *FakeXDLJobs) UpdateStatus(ctx context.Context, xDLJob *v1alpha1.XDLJob, opts v1.UpdateOptions) (*v1alpha1.XDLJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeXDLJobs) Watch ¶
func (c *FakeXDLJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested xDLJobs.
type FakeXGBoostJobs ¶
type FakeXGBoostJobs struct { Fake *FakeTrainingV1alpha1 // contains filtered or unexported fields }
FakeXGBoostJobs implements XGBoostJobInterface
func (*FakeXGBoostJobs) Create ¶
func (c *FakeXGBoostJobs) Create(ctx context.Context, xGBoostJob *v1alpha1.XGBoostJob, opts v1.CreateOptions) (result *v1alpha1.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 v1.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 v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeXGBoostJobs) Get ¶
func (c *FakeXGBoostJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.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 v1.ListOptions) (result *v1alpha1.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 v1.PatchOptions, subresources ...string) (result *v1alpha1.XGBoostJob, err error)
Patch applies the patch and returns the patched xGBoostJob.
func (*FakeXGBoostJobs) Update ¶
func (c *FakeXGBoostJobs) Update(ctx context.Context, xGBoostJob *v1alpha1.XGBoostJob, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.XGBoostJob, opts v1.UpdateOptions) (*v1alpha1.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 v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested xGBoostJobs.