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