fake

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2016 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) GetRESTClient

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

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

func (*FakeCore) OAuthClients

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

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) 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