Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeKleverossV1alpha1
- type FakeModelJobs
- func (c *FakeModelJobs) Create(modelJob *v1alpha1.ModelJob) (result *v1alpha1.ModelJob, err error)
- func (c *FakeModelJobs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeModelJobs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeModelJobs) Get(name string, options v1.GetOptions) (result *v1alpha1.ModelJob, err error)
- func (c *FakeModelJobs) List(opts v1.ListOptions) (result *v1alpha1.ModelJobList, err error)
- func (c *FakeModelJobs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ModelJob, err error)
- func (c *FakeModelJobs) Update(modelJob *v1alpha1.ModelJob) (result *v1alpha1.ModelJob, err error)
- func (c *FakeModelJobs) UpdateStatus(modelJob *v1alpha1.ModelJob) (*v1alpha1.ModelJob, error)
- func (c *FakeModelJobs) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeKleverossV1alpha1 ¶
func (*FakeKleverossV1alpha1) ModelJobs ¶
func (c *FakeKleverossV1alpha1) ModelJobs(namespace string) v1alpha1.ModelJobInterface
func (*FakeKleverossV1alpha1) RESTClient ¶
func (c *FakeKleverossV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeModelJobs ¶
type FakeModelJobs struct { Fake *FakeKleverossV1alpha1 // contains filtered or unexported fields }
FakeModelJobs implements ModelJobInterface
func (*FakeModelJobs) Create ¶
Create takes the representation of a modelJob and creates it. Returns the server's representation of the modelJob, and an error, if there is any.
func (*FakeModelJobs) Delete ¶
func (c *FakeModelJobs) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the modelJob and deletes it. Returns an error if one occurs.
func (*FakeModelJobs) DeleteCollection ¶
func (c *FakeModelJobs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeModelJobs) Get ¶
func (c *FakeModelJobs) Get(name string, options v1.GetOptions) (result *v1alpha1.ModelJob, err error)
Get takes name of the modelJob, and returns the corresponding modelJob object, and an error if there is any.
func (*FakeModelJobs) List ¶
func (c *FakeModelJobs) List(opts v1.ListOptions) (result *v1alpha1.ModelJobList, err error)
List takes label and field selectors, and returns the list of ModelJobs that match those selectors.
func (*FakeModelJobs) Patch ¶
func (c *FakeModelJobs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ModelJob, err error)
Patch applies the patch and returns the patched modelJob.
func (*FakeModelJobs) Update ¶
Update takes the representation of a modelJob and updates it. Returns the server's representation of the modelJob, and an error, if there is any.
func (*FakeModelJobs) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeModelJobs) Watch ¶
func (c *FakeModelJobs) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested modelJobs.