fake

package
v3.7.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 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 FakeOAuthClients

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

FakeOAuthClients implements OAuthClientInterface

func (*FakeOAuthClients) Create

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

func (*FakeOAuthClients) Delete

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

func (*FakeOAuthClients) DeleteCollection

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

func (*FakeOAuthClients) Get

func (c *FakeOAuthClients) Get(name string, options meta_v1.GetOptions) (result *v1.OAuthClient, err error)

func (*FakeOAuthClients) List

func (c *FakeOAuthClients) List(opts meta_v1.ListOptions) (result *v1.OAuthClientList, err error)

func (*FakeOAuthClients) Patch

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

Patch applies the patch and returns the patched oAuthClient.

func (*FakeOAuthClients) Update

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

func (*FakeOAuthClients) Watch

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

type FakeOauthV1

type FakeOauthV1 struct {
	*testing.Fake
}

func (*FakeOauthV1) OAuthClients

func (c *FakeOauthV1) OAuthClients(namespace string) v1.OAuthClientInterface

func (*FakeOauthV1) RESTClient

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