Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDatasets
- func (c *FakeDatasets) Create(ctx context.Context, dataset *v1alpha1.Dataset, opts v1.CreateOptions) (result *v1alpha1.Dataset, err error)
- func (c *FakeDatasets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDatasets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDatasets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Dataset, err error)
- func (c *FakeDatasets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DatasetList, err error)
- func (c *FakeDatasets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Dataset, err error)
- func (c *FakeDatasets) Update(ctx context.Context, dataset *v1alpha1.Dataset, opts v1.UpdateOptions) (result *v1alpha1.Dataset, err error)
- func (c *FakeDatasets) UpdateStatus(ctx context.Context, dataset *v1alpha1.Dataset, opts v1.UpdateOptions) (*v1alpha1.Dataset, error)
- func (c *FakeDatasets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeFederatedLearningJobs
- func (c *FakeFederatedLearningJobs) Create(ctx context.Context, federatedLearningJob *v1alpha1.FederatedLearningJob, ...) (result *v1alpha1.FederatedLearningJob, err error)
- func (c *FakeFederatedLearningJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFederatedLearningJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFederatedLearningJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FederatedLearningJob, err error)
- func (c *FakeFederatedLearningJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FederatedLearningJobList, err error)
- func (c *FakeFederatedLearningJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.FederatedLearningJob, err error)
- func (c *FakeFederatedLearningJobs) Update(ctx context.Context, federatedLearningJob *v1alpha1.FederatedLearningJob, ...) (result *v1alpha1.FederatedLearningJob, err error)
- func (c *FakeFederatedLearningJobs) UpdateStatus(ctx context.Context, federatedLearningJob *v1alpha1.FederatedLearningJob, ...) (*v1alpha1.FederatedLearningJob, error)
- func (c *FakeFederatedLearningJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIncrementalLearningJobs
- func (c *FakeIncrementalLearningJobs) Create(ctx context.Context, incrementalLearningJob *v1alpha1.IncrementalLearningJob, ...) (result *v1alpha1.IncrementalLearningJob, err error)
- func (c *FakeIncrementalLearningJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIncrementalLearningJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIncrementalLearningJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IncrementalLearningJob, err error)
- func (c *FakeIncrementalLearningJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IncrementalLearningJobList, err error)
- func (c *FakeIncrementalLearningJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IncrementalLearningJob, err error)
- func (c *FakeIncrementalLearningJobs) Update(ctx context.Context, incrementalLearningJob *v1alpha1.IncrementalLearningJob, ...) (result *v1alpha1.IncrementalLearningJob, err error)
- func (c *FakeIncrementalLearningJobs) UpdateStatus(ctx context.Context, incrementalLearningJob *v1alpha1.IncrementalLearningJob, ...) (*v1alpha1.IncrementalLearningJob, error)
- func (c *FakeIncrementalLearningJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeJointInferenceServices
- func (c *FakeJointInferenceServices) Create(ctx context.Context, jointInferenceService *v1alpha1.JointInferenceService, ...) (result *v1alpha1.JointInferenceService, err error)
- func (c *FakeJointInferenceServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeJointInferenceServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeJointInferenceServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.JointInferenceService, err error)
- func (c *FakeJointInferenceServices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.JointInferenceServiceList, err error)
- func (c *FakeJointInferenceServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.JointInferenceService, err error)
- func (c *FakeJointInferenceServices) Update(ctx context.Context, jointInferenceService *v1alpha1.JointInferenceService, ...) (result *v1alpha1.JointInferenceService, err error)
- func (c *FakeJointInferenceServices) UpdateStatus(ctx context.Context, jointInferenceService *v1alpha1.JointInferenceService, ...) (*v1alpha1.JointInferenceService, error)
- func (c *FakeJointInferenceServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeModels
- func (c *FakeModels) Create(ctx context.Context, model *v1alpha1.Model, opts v1.CreateOptions) (result *v1alpha1.Model, err error)
- func (c *FakeModels) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeModels) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeModels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Model, err error)
- func (c *FakeModels) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModelList, err error)
- func (c *FakeModels) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Model, err error)
- func (c *FakeModels) Update(ctx context.Context, model *v1alpha1.Model, opts v1.UpdateOptions) (result *v1alpha1.Model, err error)
- func (c *FakeModels) UpdateStatus(ctx context.Context, model *v1alpha1.Model, opts v1.UpdateOptions) (*v1alpha1.Model, error)
- func (c *FakeModels) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNeptuneV1alpha1
- func (c *FakeNeptuneV1alpha1) Datasets(namespace string) v1alpha1.DatasetInterface
- func (c *FakeNeptuneV1alpha1) FederatedLearningJobs(namespace string) v1alpha1.FederatedLearningJobInterface
- func (c *FakeNeptuneV1alpha1) IncrementalLearningJobs(namespace string) v1alpha1.IncrementalLearningJobInterface
- func (c *FakeNeptuneV1alpha1) JointInferenceServices(namespace string) v1alpha1.JointInferenceServiceInterface
- func (c *FakeNeptuneV1alpha1) Models(namespace string) v1alpha1.ModelInterface
- func (c *FakeNeptuneV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDatasets ¶
type FakeDatasets struct { Fake *FakeNeptuneV1alpha1 // contains filtered or unexported fields }
FakeDatasets implements DatasetInterface
func (*FakeDatasets) Create ¶
func (c *FakeDatasets) Create(ctx context.Context, dataset *v1alpha1.Dataset, opts v1.CreateOptions) (result *v1alpha1.Dataset, err error)
Create takes the representation of a dataset and creates it. Returns the server's representation of the dataset, and an error, if there is any.
func (*FakeDatasets) Delete ¶
func (c *FakeDatasets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the dataset and deletes it. Returns an error if one occurs.
func (*FakeDatasets) DeleteCollection ¶
func (c *FakeDatasets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDatasets) Get ¶
func (c *FakeDatasets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Dataset, err error)
Get takes name of the dataset, and returns the corresponding dataset object, and an error if there is any.
func (*FakeDatasets) List ¶
func (c *FakeDatasets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DatasetList, err error)
List takes label and field selectors, and returns the list of Datasets that match those selectors.
func (*FakeDatasets) Patch ¶
func (c *FakeDatasets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Dataset, err error)
Patch applies the patch and returns the patched dataset.
func (*FakeDatasets) Update ¶
func (c *FakeDatasets) Update(ctx context.Context, dataset *v1alpha1.Dataset, opts v1.UpdateOptions) (result *v1alpha1.Dataset, err error)
Update takes the representation of a dataset and updates it. Returns the server's representation of the dataset, and an error, if there is any.
func (*FakeDatasets) UpdateStatus ¶
func (c *FakeDatasets) UpdateStatus(ctx context.Context, dataset *v1alpha1.Dataset, opts v1.UpdateOptions) (*v1alpha1.Dataset, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDatasets) Watch ¶
func (c *FakeDatasets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested datasets.
type FakeFederatedLearningJobs ¶
type FakeFederatedLearningJobs struct { Fake *FakeNeptuneV1alpha1 // contains filtered or unexported fields }
FakeFederatedLearningJobs implements FederatedLearningJobInterface
func (*FakeFederatedLearningJobs) Create ¶
func (c *FakeFederatedLearningJobs) Create(ctx context.Context, federatedLearningJob *v1alpha1.FederatedLearningJob, opts v1.CreateOptions) (result *v1alpha1.FederatedLearningJob, err error)
Create takes the representation of a federatedLearningJob and creates it. Returns the server's representation of the federatedLearningJob, and an error, if there is any.
func (*FakeFederatedLearningJobs) Delete ¶
func (c *FakeFederatedLearningJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the federatedLearningJob and deletes it. Returns an error if one occurs.
func (*FakeFederatedLearningJobs) DeleteCollection ¶
func (c *FakeFederatedLearningJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFederatedLearningJobs) Get ¶
func (c *FakeFederatedLearningJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FederatedLearningJob, err error)
Get takes name of the federatedLearningJob, and returns the corresponding federatedLearningJob object, and an error if there is any.
func (*FakeFederatedLearningJobs) List ¶
func (c *FakeFederatedLearningJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FederatedLearningJobList, err error)
List takes label and field selectors, and returns the list of FederatedLearningJobs that match those selectors.
func (*FakeFederatedLearningJobs) Patch ¶
func (c *FakeFederatedLearningJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.FederatedLearningJob, err error)
Patch applies the patch and returns the patched federatedLearningJob.
func (*FakeFederatedLearningJobs) Update ¶
func (c *FakeFederatedLearningJobs) Update(ctx context.Context, federatedLearningJob *v1alpha1.FederatedLearningJob, opts v1.UpdateOptions) (result *v1alpha1.FederatedLearningJob, err error)
Update takes the representation of a federatedLearningJob and updates it. Returns the server's representation of the federatedLearningJob, and an error, if there is any.
func (*FakeFederatedLearningJobs) UpdateStatus ¶
func (c *FakeFederatedLearningJobs) UpdateStatus(ctx context.Context, federatedLearningJob *v1alpha1.FederatedLearningJob, opts v1.UpdateOptions) (*v1alpha1.FederatedLearningJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFederatedLearningJobs) Watch ¶
func (c *FakeFederatedLearningJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested federatedLearningJobs.
type FakeIncrementalLearningJobs ¶
type FakeIncrementalLearningJobs struct { Fake *FakeNeptuneV1alpha1 // contains filtered or unexported fields }
FakeIncrementalLearningJobs implements IncrementalLearningJobInterface
func (*FakeIncrementalLearningJobs) Create ¶
func (c *FakeIncrementalLearningJobs) Create(ctx context.Context, incrementalLearningJob *v1alpha1.IncrementalLearningJob, opts v1.CreateOptions) (result *v1alpha1.IncrementalLearningJob, err error)
Create takes the representation of a incrementalLearningJob and creates it. Returns the server's representation of the incrementalLearningJob, and an error, if there is any.
func (*FakeIncrementalLearningJobs) Delete ¶
func (c *FakeIncrementalLearningJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the incrementalLearningJob and deletes it. Returns an error if one occurs.
func (*FakeIncrementalLearningJobs) DeleteCollection ¶
func (c *FakeIncrementalLearningJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIncrementalLearningJobs) Get ¶
func (c *FakeIncrementalLearningJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IncrementalLearningJob, err error)
Get takes name of the incrementalLearningJob, and returns the corresponding incrementalLearningJob object, and an error if there is any.
func (*FakeIncrementalLearningJobs) List ¶
func (c *FakeIncrementalLearningJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IncrementalLearningJobList, err error)
List takes label and field selectors, and returns the list of IncrementalLearningJobs that match those selectors.
func (*FakeIncrementalLearningJobs) Patch ¶
func (c *FakeIncrementalLearningJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IncrementalLearningJob, err error)
Patch applies the patch and returns the patched incrementalLearningJob.
func (*FakeIncrementalLearningJobs) Update ¶
func (c *FakeIncrementalLearningJobs) Update(ctx context.Context, incrementalLearningJob *v1alpha1.IncrementalLearningJob, opts v1.UpdateOptions) (result *v1alpha1.IncrementalLearningJob, err error)
Update takes the representation of a incrementalLearningJob and updates it. Returns the server's representation of the incrementalLearningJob, and an error, if there is any.
func (*FakeIncrementalLearningJobs) UpdateStatus ¶
func (c *FakeIncrementalLearningJobs) UpdateStatus(ctx context.Context, incrementalLearningJob *v1alpha1.IncrementalLearningJob, opts v1.UpdateOptions) (*v1alpha1.IncrementalLearningJob, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIncrementalLearningJobs) Watch ¶
func (c *FakeIncrementalLearningJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested incrementalLearningJobs.
type FakeJointInferenceServices ¶
type FakeJointInferenceServices struct { Fake *FakeNeptuneV1alpha1 // contains filtered or unexported fields }
FakeJointInferenceServices implements JointInferenceServiceInterface
func (*FakeJointInferenceServices) Create ¶
func (c *FakeJointInferenceServices) Create(ctx context.Context, jointInferenceService *v1alpha1.JointInferenceService, opts v1.CreateOptions) (result *v1alpha1.JointInferenceService, err error)
Create takes the representation of a jointInferenceService and creates it. Returns the server's representation of the jointInferenceService, and an error, if there is any.
func (*FakeJointInferenceServices) Delete ¶
func (c *FakeJointInferenceServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the jointInferenceService and deletes it. Returns an error if one occurs.
func (*FakeJointInferenceServices) DeleteCollection ¶
func (c *FakeJointInferenceServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeJointInferenceServices) Get ¶
func (c *FakeJointInferenceServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.JointInferenceService, err error)
Get takes name of the jointInferenceService, and returns the corresponding jointInferenceService object, and an error if there is any.
func (*FakeJointInferenceServices) List ¶
func (c *FakeJointInferenceServices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.JointInferenceServiceList, err error)
List takes label and field selectors, and returns the list of JointInferenceServices that match those selectors.
func (*FakeJointInferenceServices) Patch ¶
func (c *FakeJointInferenceServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.JointInferenceService, err error)
Patch applies the patch and returns the patched jointInferenceService.
func (*FakeJointInferenceServices) Update ¶
func (c *FakeJointInferenceServices) Update(ctx context.Context, jointInferenceService *v1alpha1.JointInferenceService, opts v1.UpdateOptions) (result *v1alpha1.JointInferenceService, err error)
Update takes the representation of a jointInferenceService and updates it. Returns the server's representation of the jointInferenceService, and an error, if there is any.
func (*FakeJointInferenceServices) UpdateStatus ¶
func (c *FakeJointInferenceServices) UpdateStatus(ctx context.Context, jointInferenceService *v1alpha1.JointInferenceService, opts v1.UpdateOptions) (*v1alpha1.JointInferenceService, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeJointInferenceServices) Watch ¶
func (c *FakeJointInferenceServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested jointInferenceServices.
type FakeModels ¶
type FakeModels struct { Fake *FakeNeptuneV1alpha1 // contains filtered or unexported fields }
FakeModels implements ModelInterface
func (*FakeModels) Create ¶
func (c *FakeModels) Create(ctx context.Context, model *v1alpha1.Model, opts v1.CreateOptions) (result *v1alpha1.Model, err error)
Create takes the representation of a model and creates it. Returns the server's representation of the model, and an error, if there is any.
func (*FakeModels) Delete ¶
func (c *FakeModels) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the model and deletes it. Returns an error if one occurs.
func (*FakeModels) DeleteCollection ¶
func (c *FakeModels) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeModels) Get ¶
func (c *FakeModels) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Model, err error)
Get takes name of the model, and returns the corresponding model object, and an error if there is any.
func (*FakeModels) List ¶
func (c *FakeModels) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModelList, err error)
List takes label and field selectors, and returns the list of Models that match those selectors.
func (*FakeModels) Patch ¶
func (c *FakeModels) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Model, err error)
Patch applies the patch and returns the patched model.
func (*FakeModels) Update ¶
func (c *FakeModels) Update(ctx context.Context, model *v1alpha1.Model, opts v1.UpdateOptions) (result *v1alpha1.Model, err error)
Update takes the representation of a model and updates it. Returns the server's representation of the model, and an error, if there is any.
func (*FakeModels) UpdateStatus ¶
func (c *FakeModels) UpdateStatus(ctx context.Context, model *v1alpha1.Model, opts v1.UpdateOptions) (*v1alpha1.Model, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeModels) Watch ¶
func (c *FakeModels) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested models.
type FakeNeptuneV1alpha1 ¶
func (*FakeNeptuneV1alpha1) Datasets ¶
func (c *FakeNeptuneV1alpha1) Datasets(namespace string) v1alpha1.DatasetInterface
func (*FakeNeptuneV1alpha1) FederatedLearningJobs ¶
func (c *FakeNeptuneV1alpha1) FederatedLearningJobs(namespace string) v1alpha1.FederatedLearningJobInterface
func (*FakeNeptuneV1alpha1) IncrementalLearningJobs ¶
func (c *FakeNeptuneV1alpha1) IncrementalLearningJobs(namespace string) v1alpha1.IncrementalLearningJobInterface
func (*FakeNeptuneV1alpha1) JointInferenceServices ¶
func (c *FakeNeptuneV1alpha1) JointInferenceServices(namespace string) v1alpha1.JointInferenceServiceInterface
func (*FakeNeptuneV1alpha1) Models ¶
func (c *FakeNeptuneV1alpha1) Models(namespace string) v1alpha1.ModelInterface
func (*FakeNeptuneV1alpha1) RESTClient ¶
func (c *FakeNeptuneV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.