Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDatascienceV1alpha1
- func (c *FakeDatascienceV1alpha1) JobRuns(namespace string) v1alpha1.JobRunInterface
- func (c *FakeDatascienceV1alpha1) Jobs(namespace string) v1alpha1.JobInterface
- func (c *FakeDatascienceV1alpha1) ModelDeployments(namespace string) v1alpha1.ModelDeploymentInterface
- func (c *FakeDatascienceV1alpha1) ModelProvenances(namespace string) v1alpha1.ModelProvenanceInterface
- func (c *FakeDatascienceV1alpha1) Models(namespace string) v1alpha1.ModelInterface
- func (c *FakeDatascienceV1alpha1) NotebookSessions(namespace string) v1alpha1.NotebookSessionInterface
- func (c *FakeDatascienceV1alpha1) Projects(namespace string) v1alpha1.ProjectInterface
- func (c *FakeDatascienceV1alpha1) RESTClient() rest.Interface
- type FakeJobRuns
- func (c *FakeJobRuns) Create(ctx context.Context, jobRun *v1alpha1.JobRun, opts v1.CreateOptions) (result *v1alpha1.JobRun, err error)
- func (c *FakeJobRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeJobRuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeJobRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.JobRun, err error)
- func (c *FakeJobRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.JobRunList, err error)
- func (c *FakeJobRuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.JobRun, err error)
- func (c *FakeJobRuns) Update(ctx context.Context, jobRun *v1alpha1.JobRun, opts v1.UpdateOptions) (result *v1alpha1.JobRun, err error)
- func (c *FakeJobRuns) UpdateStatus(ctx context.Context, jobRun *v1alpha1.JobRun, opts v1.UpdateOptions) (*v1alpha1.JobRun, error)
- func (c *FakeJobRuns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeJobs
- func (c *FakeJobs) Create(ctx context.Context, job *v1alpha1.Job, opts v1.CreateOptions) (result *v1alpha1.Job, err error)
- func (c *FakeJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Job, err error)
- func (c *FakeJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.JobList, err error)
- func (c *FakeJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Job, err error)
- func (c *FakeJobs) Update(ctx context.Context, job *v1alpha1.Job, opts v1.UpdateOptions) (result *v1alpha1.Job, err error)
- func (c *FakeJobs) UpdateStatus(ctx context.Context, job *v1alpha1.Job, opts v1.UpdateOptions) (*v1alpha1.Job, error)
- func (c *FakeJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeModelDeployments
- func (c *FakeModelDeployments) Create(ctx context.Context, modelDeployment *v1alpha1.ModelDeployment, ...) (result *v1alpha1.ModelDeployment, err error)
- func (c *FakeModelDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeModelDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeModelDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ModelDeployment, err error)
- func (c *FakeModelDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModelDeploymentList, err error)
- func (c *FakeModelDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ModelDeployment, err error)
- func (c *FakeModelDeployments) Update(ctx context.Context, modelDeployment *v1alpha1.ModelDeployment, ...) (result *v1alpha1.ModelDeployment, err error)
- func (c *FakeModelDeployments) UpdateStatus(ctx context.Context, modelDeployment *v1alpha1.ModelDeployment, ...) (*v1alpha1.ModelDeployment, error)
- func (c *FakeModelDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeModelProvenances
- func (c *FakeModelProvenances) Create(ctx context.Context, modelProvenance *v1alpha1.ModelProvenance, ...) (result *v1alpha1.ModelProvenance, err error)
- func (c *FakeModelProvenances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeModelProvenances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeModelProvenances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ModelProvenance, err error)
- func (c *FakeModelProvenances) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModelProvenanceList, err error)
- func (c *FakeModelProvenances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ModelProvenance, err error)
- func (c *FakeModelProvenances) Update(ctx context.Context, modelProvenance *v1alpha1.ModelProvenance, ...) (result *v1alpha1.ModelProvenance, err error)
- func (c *FakeModelProvenances) UpdateStatus(ctx context.Context, modelProvenance *v1alpha1.ModelProvenance, ...) (*v1alpha1.ModelProvenance, error)
- func (c *FakeModelProvenances) 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 FakeNotebookSessions
- func (c *FakeNotebookSessions) Create(ctx context.Context, notebookSession *v1alpha1.NotebookSession, ...) (result *v1alpha1.NotebookSession, err error)
- func (c *FakeNotebookSessions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNotebookSessions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNotebookSessions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NotebookSession, err error)
- func (c *FakeNotebookSessions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NotebookSessionList, err error)
- func (c *FakeNotebookSessions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NotebookSession, err error)
- func (c *FakeNotebookSessions) Update(ctx context.Context, notebookSession *v1alpha1.NotebookSession, ...) (result *v1alpha1.NotebookSession, err error)
- func (c *FakeNotebookSessions) UpdateStatus(ctx context.Context, notebookSession *v1alpha1.NotebookSession, ...) (*v1alpha1.NotebookSession, error)
- func (c *FakeNotebookSessions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeProjects
- func (c *FakeProjects) Create(ctx context.Context, project *v1alpha1.Project, opts v1.CreateOptions) (result *v1alpha1.Project, err error)
- func (c *FakeProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Project, err error)
- func (c *FakeProjects) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProjectList, err error)
- func (c *FakeProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Project, err error)
- func (c *FakeProjects) Update(ctx context.Context, project *v1alpha1.Project, opts v1.UpdateOptions) (result *v1alpha1.Project, err error)
- func (c *FakeProjects) UpdateStatus(ctx context.Context, project *v1alpha1.Project, opts v1.UpdateOptions) (*v1alpha1.Project, error)
- func (c *FakeProjects) 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 FakeDatascienceV1alpha1 ¶
func (*FakeDatascienceV1alpha1) JobRuns ¶
func (c *FakeDatascienceV1alpha1) JobRuns(namespace string) v1alpha1.JobRunInterface
func (*FakeDatascienceV1alpha1) Jobs ¶
func (c *FakeDatascienceV1alpha1) Jobs(namespace string) v1alpha1.JobInterface
func (*FakeDatascienceV1alpha1) ModelDeployments ¶
func (c *FakeDatascienceV1alpha1) ModelDeployments(namespace string) v1alpha1.ModelDeploymentInterface
func (*FakeDatascienceV1alpha1) ModelProvenances ¶
func (c *FakeDatascienceV1alpha1) ModelProvenances(namespace string) v1alpha1.ModelProvenanceInterface
func (*FakeDatascienceV1alpha1) Models ¶
func (c *FakeDatascienceV1alpha1) Models(namespace string) v1alpha1.ModelInterface
func (*FakeDatascienceV1alpha1) NotebookSessions ¶
func (c *FakeDatascienceV1alpha1) NotebookSessions(namespace string) v1alpha1.NotebookSessionInterface
func (*FakeDatascienceV1alpha1) Projects ¶
func (c *FakeDatascienceV1alpha1) Projects(namespace string) v1alpha1.ProjectInterface
func (*FakeDatascienceV1alpha1) RESTClient ¶
func (c *FakeDatascienceV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeJobRuns ¶
type FakeJobRuns struct { Fake *FakeDatascienceV1alpha1 // contains filtered or unexported fields }
FakeJobRuns implements JobRunInterface
func (*FakeJobRuns) Create ¶
func (c *FakeJobRuns) Create(ctx context.Context, jobRun *v1alpha1.JobRun, opts v1.CreateOptions) (result *v1alpha1.JobRun, err error)
Create takes the representation of a jobRun and creates it. Returns the server's representation of the jobRun, and an error, if there is any.
func (*FakeJobRuns) Delete ¶
func (c *FakeJobRuns) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the jobRun and deletes it. Returns an error if one occurs.
func (*FakeJobRuns) DeleteCollection ¶
func (c *FakeJobRuns) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeJobRuns) Get ¶
func (c *FakeJobRuns) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.JobRun, err error)
Get takes name of the jobRun, and returns the corresponding jobRun object, and an error if there is any.
func (*FakeJobRuns) List ¶
func (c *FakeJobRuns) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.JobRunList, err error)
List takes label and field selectors, and returns the list of JobRuns that match those selectors.
func (*FakeJobRuns) Patch ¶
func (c *FakeJobRuns) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.JobRun, err error)
Patch applies the patch and returns the patched jobRun.
func (*FakeJobRuns) Update ¶
func (c *FakeJobRuns) Update(ctx context.Context, jobRun *v1alpha1.JobRun, opts v1.UpdateOptions) (result *v1alpha1.JobRun, err error)
Update takes the representation of a jobRun and updates it. Returns the server's representation of the jobRun, and an error, if there is any.
func (*FakeJobRuns) UpdateStatus ¶
func (c *FakeJobRuns) UpdateStatus(ctx context.Context, jobRun *v1alpha1.JobRun, opts v1.UpdateOptions) (*v1alpha1.JobRun, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeJobRuns) Watch ¶
func (c *FakeJobRuns) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested jobRuns.
type FakeJobs ¶
type FakeJobs struct { Fake *FakeDatascienceV1alpha1 // contains filtered or unexported fields }
FakeJobs implements JobInterface
func (*FakeJobs) Create ¶
func (c *FakeJobs) Create(ctx context.Context, job *v1alpha1.Job, opts v1.CreateOptions) (result *v1alpha1.Job, err error)
Create takes the representation of a job and creates it. Returns the server's representation of the job, and an error, if there is any.
func (*FakeJobs) Delete ¶
Delete takes name of the job and deletes it. Returns an error if one occurs.
func (*FakeJobs) DeleteCollection ¶
func (c *FakeJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeJobs) Get ¶
func (c *FakeJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Job, err error)
Get takes name of the job, and returns the corresponding job object, and an error if there is any.
func (*FakeJobs) List ¶
func (c *FakeJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.JobList, err error)
List takes label and field selectors, and returns the list of Jobs that match those selectors.
func (*FakeJobs) Patch ¶
func (c *FakeJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Job, err error)
Patch applies the patch and returns the patched job.
func (*FakeJobs) Update ¶
func (c *FakeJobs) Update(ctx context.Context, job *v1alpha1.Job, opts v1.UpdateOptions) (result *v1alpha1.Job, err error)
Update takes the representation of a job and updates it. Returns the server's representation of the job, and an error, if there is any.
func (*FakeJobs) UpdateStatus ¶
func (c *FakeJobs) UpdateStatus(ctx context.Context, job *v1alpha1.Job, opts v1.UpdateOptions) (*v1alpha1.Job, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeModelDeployments ¶
type FakeModelDeployments struct { Fake *FakeDatascienceV1alpha1 // contains filtered or unexported fields }
FakeModelDeployments implements ModelDeploymentInterface
func (*FakeModelDeployments) Create ¶
func (c *FakeModelDeployments) Create(ctx context.Context, modelDeployment *v1alpha1.ModelDeployment, opts v1.CreateOptions) (result *v1alpha1.ModelDeployment, err error)
Create takes the representation of a modelDeployment and creates it. Returns the server's representation of the modelDeployment, and an error, if there is any.
func (*FakeModelDeployments) Delete ¶
func (c *FakeModelDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the modelDeployment and deletes it. Returns an error if one occurs.
func (*FakeModelDeployments) DeleteCollection ¶
func (c *FakeModelDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeModelDeployments) Get ¶
func (c *FakeModelDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ModelDeployment, err error)
Get takes name of the modelDeployment, and returns the corresponding modelDeployment object, and an error if there is any.
func (*FakeModelDeployments) List ¶
func (c *FakeModelDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModelDeploymentList, err error)
List takes label and field selectors, and returns the list of ModelDeployments that match those selectors.
func (*FakeModelDeployments) Patch ¶
func (c *FakeModelDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ModelDeployment, err error)
Patch applies the patch and returns the patched modelDeployment.
func (*FakeModelDeployments) Update ¶
func (c *FakeModelDeployments) Update(ctx context.Context, modelDeployment *v1alpha1.ModelDeployment, opts v1.UpdateOptions) (result *v1alpha1.ModelDeployment, err error)
Update takes the representation of a modelDeployment and updates it. Returns the server's representation of the modelDeployment, and an error, if there is any.
func (*FakeModelDeployments) UpdateStatus ¶
func (c *FakeModelDeployments) UpdateStatus(ctx context.Context, modelDeployment *v1alpha1.ModelDeployment, opts v1.UpdateOptions) (*v1alpha1.ModelDeployment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeModelDeployments) Watch ¶
func (c *FakeModelDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested modelDeployments.
type FakeModelProvenances ¶
type FakeModelProvenances struct { Fake *FakeDatascienceV1alpha1 // contains filtered or unexported fields }
FakeModelProvenances implements ModelProvenanceInterface
func (*FakeModelProvenances) Create ¶
func (c *FakeModelProvenances) Create(ctx context.Context, modelProvenance *v1alpha1.ModelProvenance, opts v1.CreateOptions) (result *v1alpha1.ModelProvenance, err error)
Create takes the representation of a modelProvenance and creates it. Returns the server's representation of the modelProvenance, and an error, if there is any.
func (*FakeModelProvenances) Delete ¶
func (c *FakeModelProvenances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the modelProvenance and deletes it. Returns an error if one occurs.
func (*FakeModelProvenances) DeleteCollection ¶
func (c *FakeModelProvenances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeModelProvenances) Get ¶
func (c *FakeModelProvenances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ModelProvenance, err error)
Get takes name of the modelProvenance, and returns the corresponding modelProvenance object, and an error if there is any.
func (*FakeModelProvenances) List ¶
func (c *FakeModelProvenances) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ModelProvenanceList, err error)
List takes label and field selectors, and returns the list of ModelProvenances that match those selectors.
func (*FakeModelProvenances) Patch ¶
func (c *FakeModelProvenances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ModelProvenance, err error)
Patch applies the patch and returns the patched modelProvenance.
func (*FakeModelProvenances) Update ¶
func (c *FakeModelProvenances) Update(ctx context.Context, modelProvenance *v1alpha1.ModelProvenance, opts v1.UpdateOptions) (result *v1alpha1.ModelProvenance, err error)
Update takes the representation of a modelProvenance and updates it. Returns the server's representation of the modelProvenance, and an error, if there is any.
func (*FakeModelProvenances) UpdateStatus ¶
func (c *FakeModelProvenances) UpdateStatus(ctx context.Context, modelProvenance *v1alpha1.ModelProvenance, opts v1.UpdateOptions) (*v1alpha1.ModelProvenance, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeModelProvenances) Watch ¶
func (c *FakeModelProvenances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested modelProvenances.
type FakeModels ¶
type FakeModels struct { Fake *FakeDatascienceV1alpha1 // 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 FakeNotebookSessions ¶
type FakeNotebookSessions struct { Fake *FakeDatascienceV1alpha1 // contains filtered or unexported fields }
FakeNotebookSessions implements NotebookSessionInterface
func (*FakeNotebookSessions) Create ¶
func (c *FakeNotebookSessions) Create(ctx context.Context, notebookSession *v1alpha1.NotebookSession, opts v1.CreateOptions) (result *v1alpha1.NotebookSession, err error)
Create takes the representation of a notebookSession and creates it. Returns the server's representation of the notebookSession, and an error, if there is any.
func (*FakeNotebookSessions) Delete ¶
func (c *FakeNotebookSessions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the notebookSession and deletes it. Returns an error if one occurs.
func (*FakeNotebookSessions) DeleteCollection ¶
func (c *FakeNotebookSessions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNotebookSessions) Get ¶
func (c *FakeNotebookSessions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NotebookSession, err error)
Get takes name of the notebookSession, and returns the corresponding notebookSession object, and an error if there is any.
func (*FakeNotebookSessions) List ¶
func (c *FakeNotebookSessions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NotebookSessionList, err error)
List takes label and field selectors, and returns the list of NotebookSessions that match those selectors.
func (*FakeNotebookSessions) Patch ¶
func (c *FakeNotebookSessions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NotebookSession, err error)
Patch applies the patch and returns the patched notebookSession.
func (*FakeNotebookSessions) Update ¶
func (c *FakeNotebookSessions) Update(ctx context.Context, notebookSession *v1alpha1.NotebookSession, opts v1.UpdateOptions) (result *v1alpha1.NotebookSession, err error)
Update takes the representation of a notebookSession and updates it. Returns the server's representation of the notebookSession, and an error, if there is any.
func (*FakeNotebookSessions) UpdateStatus ¶
func (c *FakeNotebookSessions) UpdateStatus(ctx context.Context, notebookSession *v1alpha1.NotebookSession, opts v1.UpdateOptions) (*v1alpha1.NotebookSession, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNotebookSessions) Watch ¶
func (c *FakeNotebookSessions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested notebookSessions.
type FakeProjects ¶
type FakeProjects struct { Fake *FakeDatascienceV1alpha1 // contains filtered or unexported fields }
FakeProjects implements ProjectInterface
func (*FakeProjects) Create ¶
func (c *FakeProjects) Create(ctx context.Context, project *v1alpha1.Project, opts v1.CreateOptions) (result *v1alpha1.Project, err error)
Create takes the representation of a project and creates it. Returns the server's representation of the project, and an error, if there is any.
func (*FakeProjects) Delete ¶
func (c *FakeProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the project and deletes it. Returns an error if one occurs.
func (*FakeProjects) DeleteCollection ¶
func (c *FakeProjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProjects) Get ¶
func (c *FakeProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Project, err error)
Get takes name of the project, and returns the corresponding project object, and an error if there is any.
func (*FakeProjects) List ¶
func (c *FakeProjects) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProjectList, err error)
List takes label and field selectors, and returns the list of Projects that match those selectors.
func (*FakeProjects) Patch ¶
func (c *FakeProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Project, err error)
Patch applies the patch and returns the patched project.
func (*FakeProjects) Update ¶
func (c *FakeProjects) Update(ctx context.Context, project *v1alpha1.Project, opts v1.UpdateOptions) (result *v1alpha1.Project, err error)
Update takes the representation of a project and updates it. Returns the server's representation of the project, and an error, if there is any.
func (*FakeProjects) UpdateStatus ¶
func (c *FakeProjects) UpdateStatus(ctx context.Context, project *v1alpha1.Project, opts v1.UpdateOptions) (*v1alpha1.Project, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProjects) Watch ¶
func (c *FakeProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested projects.