fake

package
v3.6.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2017 License: Apache-2.0 Imports: 8 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 FakeCore

type FakeCore struct {
	*core.Fake
}

func (*FakeCore) OAuthClients

func (c *FakeCore) OAuthClients(namespace string) internalversion.OAuthClientInterface

func (*FakeCore) RESTClient

func (c *FakeCore) RESTClient() restclient.Interface

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

type FakeOAuthClients

type FakeOAuthClients struct {
	Fake *FakeCore
	// contains filtered or unexported fields
}

FakeOAuthClients implements OAuthClientInterface

func (*FakeOAuthClients) Create

func (c *FakeOAuthClients) Create(oAuthClient *api.OAuthClient) (result *api.OAuthClient, err error)

func (*FakeOAuthClients) Delete

func (c *FakeOAuthClients) Delete(name string, options *pkg_api.DeleteOptions) error

func (*FakeOAuthClients) DeleteCollection

func (c *FakeOAuthClients) DeleteCollection(options *pkg_api.DeleteOptions, listOptions pkg_api.ListOptions) error

func (*FakeOAuthClients) Get

func (c *FakeOAuthClients) Get(name string) (result *api.OAuthClient, err error)

func (*FakeOAuthClients) List

func (c *FakeOAuthClients) List(opts pkg_api.ListOptions) (result *api.OAuthClientList, err error)

func (*FakeOAuthClients) Patch

func (c *FakeOAuthClients) Patch(name string, pt pkg_api.PatchType, data []byte, subresources ...string) (result *api.OAuthClient, err error)

Patch applies the patch and returns the patched oAuthClient.

func (*FakeOAuthClients) Update

func (c *FakeOAuthClients) Update(oAuthClient *api.OAuthClient) (result *api.OAuthClient, err error)

func (*FakeOAuthClients) Watch

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

Jump to

Keyboard shortcuts

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