fake

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 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 FakeMachinelearningV1alpha2

type FakeMachinelearningV1alpha2 struct {
	*testing.Fake
}

func (*FakeMachinelearningV1alpha2) RESTClient

func (c *FakeMachinelearningV1alpha2) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeMachinelearningV1alpha2) SeldonDeployments

func (c *FakeMachinelearningV1alpha2) SeldonDeployments(namespace string) v1alpha2.SeldonDeploymentInterface

type FakeSeldonDeployments

type FakeSeldonDeployments struct {
	Fake *FakeMachinelearningV1alpha2
	// contains filtered or unexported fields
}

FakeSeldonDeployments implements SeldonDeploymentInterface

func (*FakeSeldonDeployments) Create

func (c *FakeSeldonDeployments) Create(seldonDeployment *v1alpha2.SeldonDeployment) (result *v1alpha2.SeldonDeployment, err error)

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

func (*FakeSeldonDeployments) Delete

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

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

func (*FakeSeldonDeployments) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSeldonDeployments) Get

func (c *FakeSeldonDeployments) Get(name string, options v1.GetOptions) (result *v1alpha2.SeldonDeployment, err error)

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

func (*FakeSeldonDeployments) List

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

func (*FakeSeldonDeployments) Patch

func (c *FakeSeldonDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha2.SeldonDeployment, err error)

Patch applies the patch and returns the patched seldonDeployment.

func (*FakeSeldonDeployments) Update

func (c *FakeSeldonDeployments) Update(seldonDeployment *v1alpha2.SeldonDeployment) (result *v1alpha2.SeldonDeployment, err error)

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

func (*FakeSeldonDeployments) UpdateStatus

func (c *FakeSeldonDeployments) UpdateStatus(seldonDeployment *v1alpha2.SeldonDeployment) (*v1alpha2.SeldonDeployment, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSeldonDeployments) Watch

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

Jump to

Keyboard shortcuts

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