fake

package
v0.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: Apache-2.0 Imports: 9 Imported by: 1

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 Mobile added in v0.0.6

type Mobile struct {
	*testing.Fake
}

func (*Mobile) MobileClients added in v0.0.6

func (c *Mobile) MobileClients(namespace string) internalversion.MobileClientInterface

func (*Mobile) RESTClient added in v0.0.6

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

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

type MobileClients added in v0.0.6

type MobileClients struct {
	Fake *Mobile
	// contains filtered or unexported fields
}

MobileClients implements MobileClientInterface

func (*MobileClients) Create added in v0.0.6

func (c *MobileClients) Create(mobileClient *mobile.Client) (result *mobile.Client, err error)

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

func (*MobileClients) Delete added in v0.0.6

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

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

func (*MobileClients) DeleteCollection added in v0.0.6

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

DeleteCollection deletes a collection of objects.

func (*MobileClients) Get added in v0.0.6

func (c *MobileClients) Get(name string, options v1.GetOptions) (result *mobile.Client, err error)

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

func (*MobileClients) List added in v0.0.6

func (c *MobileClients) List(opts v1.ListOptions) (result *mobile.ClientList, err error)

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

func (*MobileClients) Patch added in v0.0.6

func (c *MobileClients) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *mobile.Client, err error)

Patch applies the patch and returns the patched mobileClient.

func (*MobileClients) Update added in v0.0.6

func (c *MobileClients) Update(mobileClient *mobile.Client) (result *mobile.Client, err error)

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

func (*MobileClients) Watch added in v0.0.6

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

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

Jump to

Keyboard shortcuts

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