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