fake

package
v0.0.0-...-148db3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 4, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

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

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

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

Watch returns a watch.Interface that watches the requested aITrainingJobs.

type FakeElasticdeeplearningV1

type FakeElasticdeeplearningV1 struct {
	*testing.Fake
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL