Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDatasets
- func (c *FakeDatasets) Create(ctx context.Context, dataset *v1.Dataset, opts metav1.CreateOptions) (result *v1.Dataset, err error)
- func (c *FakeDatasets) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeDatasets) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeDatasets) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Dataset, err error)
- func (c *FakeDatasets) List(ctx context.Context, opts metav1.ListOptions) (result *v1.DatasetList, err error)
- func (c *FakeDatasets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Dataset, err error)
- func (c *FakeDatasets) Update(ctx context.Context, dataset *v1.Dataset, opts metav1.UpdateOptions) (result *v1.Dataset, err error)
- func (c *FakeDatasets) UpdateStatus(ctx context.Context, dataset *v1.Dataset, opts metav1.UpdateOptions) (*v1.Dataset, error)
- func (c *FakeDatasets) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeMLServices
- func (c *FakeMLServices) Create(ctx context.Context, mLService *v1.MLService, opts metav1.CreateOptions) (result *v1.MLService, err error)
- func (c *FakeMLServices) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeMLServices) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeMLServices) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.MLService, err error)
- func (c *FakeMLServices) List(ctx context.Context, opts metav1.ListOptions) (result *v1.MLServiceList, err error)
- func (c *FakeMLServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.MLService, err error)
- func (c *FakeMLServices) Update(ctx context.Context, mLService *v1.MLService, opts metav1.UpdateOptions) (result *v1.MLService, err error)
- func (c *FakeMLServices) UpdateStatus(ctx context.Context, mLService *v1.MLService, opts metav1.UpdateOptions) (*v1.MLService, error)
- func (c *FakeMLServices) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeMlV1
- func (c *FakeMlV1) Datasets(namespace string) v1.DatasetInterface
- func (c *FakeMlV1) MLServices(namespace string) v1.MLServiceInterface
- func (c *FakeMlV1) ModelTemplateVersions(namespace string) v1.ModelTemplateVersionInterface
- func (c *FakeMlV1) ModelTemplates(namespace string) v1.ModelTemplateInterface
- func (c *FakeMlV1) Notebooks(namespace string) v1.NotebookInterface
- func (c *FakeMlV1) RESTClient() rest.Interface
- type FakeModelTemplateVersions
- func (c *FakeModelTemplateVersions) Create(ctx context.Context, modelTemplateVersion *v1.ModelTemplateVersion, ...) (result *v1.ModelTemplateVersion, err error)
- func (c *FakeModelTemplateVersions) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeModelTemplateVersions) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeModelTemplateVersions) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ModelTemplateVersion, err error)
- func (c *FakeModelTemplateVersions) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ModelTemplateVersionList, err error)
- func (c *FakeModelTemplateVersions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ModelTemplateVersion, err error)
- func (c *FakeModelTemplateVersions) Update(ctx context.Context, modelTemplateVersion *v1.ModelTemplateVersion, ...) (result *v1.ModelTemplateVersion, err error)
- func (c *FakeModelTemplateVersions) UpdateStatus(ctx context.Context, modelTemplateVersion *v1.ModelTemplateVersion, ...) (*v1.ModelTemplateVersion, error)
- func (c *FakeModelTemplateVersions) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeModelTemplates
- func (c *FakeModelTemplates) Create(ctx context.Context, modelTemplate *v1.ModelTemplate, ...) (result *v1.ModelTemplate, err error)
- func (c *FakeModelTemplates) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeModelTemplates) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeModelTemplates) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ModelTemplate, err error)
- func (c *FakeModelTemplates) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ModelTemplateList, err error)
- func (c *FakeModelTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.ModelTemplate, err error)
- func (c *FakeModelTemplates) Update(ctx context.Context, modelTemplate *v1.ModelTemplate, ...) (result *v1.ModelTemplate, err error)
- func (c *FakeModelTemplates) UpdateStatus(ctx context.Context, modelTemplate *v1.ModelTemplate, ...) (*v1.ModelTemplate, error)
- func (c *FakeModelTemplates) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
- type FakeNotebooks
- func (c *FakeNotebooks) Create(ctx context.Context, notebook *v1.Notebook, opts metav1.CreateOptions) (result *v1.Notebook, err error)
- func (c *FakeNotebooks) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeNotebooks) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeNotebooks) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Notebook, err error)
- func (c *FakeNotebooks) List(ctx context.Context, opts metav1.ListOptions) (result *v1.NotebookList, err error)
- func (c *FakeNotebooks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.Notebook, err error)
- func (c *FakeNotebooks) Update(ctx context.Context, notebook *v1.Notebook, opts metav1.UpdateOptions) (result *v1.Notebook, err error)
- func (c *FakeNotebooks) UpdateStatus(ctx context.Context, notebook *v1.Notebook, opts metav1.UpdateOptions) (*v1.Notebook, error)
- func (c *FakeNotebooks) 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 FakeDatasets ¶
type FakeDatasets struct { Fake *FakeMlV1 // contains filtered or unexported fields }
FakeDatasets implements DatasetInterface
func (*FakeDatasets) Create ¶
func (c *FakeDatasets) Create(ctx context.Context, dataset *v1.Dataset, opts metav1.CreateOptions) (result *v1.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 metav1.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 metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDatasets) Get ¶
func (c *FakeDatasets) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 metav1.ListOptions) (result *v1.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 metav1.PatchOptions, subresources ...string) (result *v1.Dataset, err error)
Patch applies the patch and returns the patched dataset.
func (*FakeDatasets) Update ¶
func (c *FakeDatasets) Update(ctx context.Context, dataset *v1.Dataset, opts metav1.UpdateOptions) (result *v1.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 *v1.Dataset, opts metav1.UpdateOptions) (*v1.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 metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested datasets.
type FakeMLServices ¶
type FakeMLServices struct { Fake *FakeMlV1 // contains filtered or unexported fields }
FakeMLServices implements MLServiceInterface
func (*FakeMLServices) Create ¶
func (c *FakeMLServices) Create(ctx context.Context, mLService *v1.MLService, opts metav1.CreateOptions) (result *v1.MLService, err error)
Create takes the representation of a mLService and creates it. Returns the server's representation of the mLService, and an error, if there is any.
func (*FakeMLServices) Delete ¶
func (c *FakeMLServices) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the mLService and deletes it. Returns an error if one occurs.
func (*FakeMLServices) DeleteCollection ¶
func (c *FakeMLServices) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMLServices) Get ¶
func (c *FakeMLServices) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.MLService, err error)
Get takes name of the mLService, and returns the corresponding mLService object, and an error if there is any.
func (*FakeMLServices) List ¶
func (c *FakeMLServices) List(ctx context.Context, opts metav1.ListOptions) (result *v1.MLServiceList, err error)
List takes label and field selectors, and returns the list of MLServices that match those selectors.
func (*FakeMLServices) Patch ¶
func (c *FakeMLServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.MLService, err error)
Patch applies the patch and returns the patched mLService.
func (*FakeMLServices) Update ¶
func (c *FakeMLServices) Update(ctx context.Context, mLService *v1.MLService, opts metav1.UpdateOptions) (result *v1.MLService, err error)
Update takes the representation of a mLService and updates it. Returns the server's representation of the mLService, and an error, if there is any.
func (*FakeMLServices) UpdateStatus ¶
func (c *FakeMLServices) UpdateStatus(ctx context.Context, mLService *v1.MLService, opts metav1.UpdateOptions) (*v1.MLService, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeMLServices) Watch ¶
func (c *FakeMLServices) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested mLServices.
type FakeMlV1 ¶
func (*FakeMlV1) MLServices ¶
func (c *FakeMlV1) MLServices(namespace string) v1.MLServiceInterface
func (*FakeMlV1) ModelTemplateVersions ¶
func (c *FakeMlV1) ModelTemplateVersions(namespace string) v1.ModelTemplateVersionInterface
func (*FakeMlV1) ModelTemplates ¶
func (c *FakeMlV1) ModelTemplates(namespace string) v1.ModelTemplateInterface
func (*FakeMlV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeModelTemplateVersions ¶
type FakeModelTemplateVersions struct { Fake *FakeMlV1 // contains filtered or unexported fields }
FakeModelTemplateVersions implements ModelTemplateVersionInterface
func (*FakeModelTemplateVersions) Create ¶
func (c *FakeModelTemplateVersions) Create(ctx context.Context, modelTemplateVersion *v1.ModelTemplateVersion, opts metav1.CreateOptions) (result *v1.ModelTemplateVersion, err error)
Create takes the representation of a modelTemplateVersion and creates it. Returns the server's representation of the modelTemplateVersion, and an error, if there is any.
func (*FakeModelTemplateVersions) Delete ¶
func (c *FakeModelTemplateVersions) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the modelTemplateVersion and deletes it. Returns an error if one occurs.
func (*FakeModelTemplateVersions) DeleteCollection ¶
func (c *FakeModelTemplateVersions) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeModelTemplateVersions) Get ¶
func (c *FakeModelTemplateVersions) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ModelTemplateVersion, err error)
Get takes name of the modelTemplateVersion, and returns the corresponding modelTemplateVersion object, and an error if there is any.
func (*FakeModelTemplateVersions) List ¶
func (c *FakeModelTemplateVersions) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ModelTemplateVersionList, err error)
List takes label and field selectors, and returns the list of ModelTemplateVersions that match those selectors.
func (*FakeModelTemplateVersions) Patch ¶
func (c *FakeModelTemplateVersions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ModelTemplateVersion, err error)
Patch applies the patch and returns the patched modelTemplateVersion.
func (*FakeModelTemplateVersions) Update ¶
func (c *FakeModelTemplateVersions) Update(ctx context.Context, modelTemplateVersion *v1.ModelTemplateVersion, opts metav1.UpdateOptions) (result *v1.ModelTemplateVersion, err error)
Update takes the representation of a modelTemplateVersion and updates it. Returns the server's representation of the modelTemplateVersion, and an error, if there is any.
func (*FakeModelTemplateVersions) UpdateStatus ¶
func (c *FakeModelTemplateVersions) UpdateStatus(ctx context.Context, modelTemplateVersion *v1.ModelTemplateVersion, opts metav1.UpdateOptions) (*v1.ModelTemplateVersion, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeModelTemplateVersions) Watch ¶
func (c *FakeModelTemplateVersions) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested modelTemplateVersions.
type FakeModelTemplates ¶
type FakeModelTemplates struct { Fake *FakeMlV1 // contains filtered or unexported fields }
FakeModelTemplates implements ModelTemplateInterface
func (*FakeModelTemplates) Create ¶
func (c *FakeModelTemplates) Create(ctx context.Context, modelTemplate *v1.ModelTemplate, opts metav1.CreateOptions) (result *v1.ModelTemplate, err error)
Create takes the representation of a modelTemplate and creates it. Returns the server's representation of the modelTemplate, and an error, if there is any.
func (*FakeModelTemplates) Delete ¶
func (c *FakeModelTemplates) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the modelTemplate and deletes it. Returns an error if one occurs.
func (*FakeModelTemplates) DeleteCollection ¶
func (c *FakeModelTemplates) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeModelTemplates) Get ¶
func (c *FakeModelTemplates) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.ModelTemplate, err error)
Get takes name of the modelTemplate, and returns the corresponding modelTemplate object, and an error if there is any.
func (*FakeModelTemplates) List ¶
func (c *FakeModelTemplates) List(ctx context.Context, opts metav1.ListOptions) (result *v1.ModelTemplateList, err error)
List takes label and field selectors, and returns the list of ModelTemplates that match those selectors.
func (*FakeModelTemplates) Patch ¶
func (c *FakeModelTemplates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ModelTemplate, err error)
Patch applies the patch and returns the patched modelTemplate.
func (*FakeModelTemplates) Update ¶
func (c *FakeModelTemplates) Update(ctx context.Context, modelTemplate *v1.ModelTemplate, opts metav1.UpdateOptions) (result *v1.ModelTemplate, err error)
Update takes the representation of a modelTemplate and updates it. Returns the server's representation of the modelTemplate, and an error, if there is any.
func (*FakeModelTemplates) UpdateStatus ¶
func (c *FakeModelTemplates) UpdateStatus(ctx context.Context, modelTemplate *v1.ModelTemplate, opts metav1.UpdateOptions) (*v1.ModelTemplate, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeModelTemplates) Watch ¶
func (c *FakeModelTemplates) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested modelTemplates.
type FakeNotebooks ¶
type FakeNotebooks struct { Fake *FakeMlV1 // contains filtered or unexported fields }
FakeNotebooks implements NotebookInterface
func (*FakeNotebooks) Create ¶
func (c *FakeNotebooks) Create(ctx context.Context, notebook *v1.Notebook, opts metav1.CreateOptions) (result *v1.Notebook, err error)
Create takes the representation of a notebook and creates it. Returns the server's representation of the notebook, and an error, if there is any.
func (*FakeNotebooks) Delete ¶
func (c *FakeNotebooks) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the notebook and deletes it. Returns an error if one occurs.
func (*FakeNotebooks) DeleteCollection ¶
func (c *FakeNotebooks) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNotebooks) Get ¶
func (c *FakeNotebooks) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.Notebook, err error)
Get takes name of the notebook, and returns the corresponding notebook object, and an error if there is any.
func (*FakeNotebooks) List ¶
func (c *FakeNotebooks) List(ctx context.Context, opts metav1.ListOptions) (result *v1.NotebookList, err error)
List takes label and field selectors, and returns the list of Notebooks that match those selectors.
func (*FakeNotebooks) Patch ¶
func (c *FakeNotebooks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Notebook, err error)
Patch applies the patch and returns the patched notebook.
func (*FakeNotebooks) Update ¶
func (c *FakeNotebooks) Update(ctx context.Context, notebook *v1.Notebook, opts metav1.UpdateOptions) (result *v1.Notebook, err error)
Update takes the representation of a notebook and updates it. Returns the server's representation of the notebook, and an error, if there is any.
func (*FakeNotebooks) UpdateStatus ¶
func (c *FakeNotebooks) UpdateStatus(ctx context.Context, notebook *v1.Notebook, opts metav1.UpdateOptions) (*v1.Notebook, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNotebooks) Watch ¶
func (c *FakeNotebooks) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested notebooks.