fake

package
v0.0.0-...-2c5db8d Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2018 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 FakeCaffe2Jobs

type FakeCaffe2Jobs struct {
	Fake *FakeKubeflowV1alpha1
	// contains filtered or unexported fields
}

FakeCaffe2Jobs implements Caffe2JobInterface

func (*FakeCaffe2Jobs) Create

func (c *FakeCaffe2Jobs) Create(caffe2Job *v1alpha1.Caffe2Job) (result *v1alpha1.Caffe2Job, err error)

Create takes the representation of a caffe2Job and creates it. Returns the server's representation of the caffe2Job, and an error, if there is any.

func (*FakeCaffe2Jobs) Delete

func (c *FakeCaffe2Jobs) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the caffe2Job and deletes it. Returns an error if one occurs.

func (*FakeCaffe2Jobs) DeleteCollection

func (c *FakeCaffe2Jobs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCaffe2Jobs) Get

func (c *FakeCaffe2Jobs) Get(name string, options v1.GetOptions) (result *v1alpha1.Caffe2Job, err error)

Get takes name of the caffe2Job, and returns the corresponding caffe2Job object, and an error if there is any.

func (*FakeCaffe2Jobs) List

func (c *FakeCaffe2Jobs) List(opts v1.ListOptions) (result *v1alpha1.Caffe2JobList, err error)

List takes label and field selectors, and returns the list of Caffe2Jobs that match those selectors.

func (*FakeCaffe2Jobs) Patch

func (c *FakeCaffe2Jobs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Caffe2Job, err error)

Patch applies the patch and returns the patched caffe2Job.

func (*FakeCaffe2Jobs) Update

func (c *FakeCaffe2Jobs) Update(caffe2Job *v1alpha1.Caffe2Job) (result *v1alpha1.Caffe2Job, err error)

Update takes the representation of a caffe2Job and updates it. Returns the server's representation of the caffe2Job, and an error, if there is any.

func (*FakeCaffe2Jobs) Watch

func (c *FakeCaffe2Jobs) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeKubeflowV1alpha1

type FakeKubeflowV1alpha1 struct {
	*testing.Fake
}

func (*FakeKubeflowV1alpha1) Caffe2Jobs

func (c *FakeKubeflowV1alpha1) Caffe2Jobs(namespace string) v1alpha1.Caffe2JobInterface

func (*FakeKubeflowV1alpha1) RESTClient

func (c *FakeKubeflowV1alpha1) 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