fake

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 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) Users

func (c *FakeCore) Users(namespace string) unversioned.UserInterface

type FakeUsers

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

FakeUsers implements UserInterface

func (*FakeUsers) Create

func (c *FakeUsers) Create(user *api.User) (result *api.User, err error)

func (*FakeUsers) Delete

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

func (*FakeUsers) DeleteCollection

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

func (*FakeUsers) Get

func (c *FakeUsers) Get(name string) (result *api.User, err error)

func (*FakeUsers) List

func (c *FakeUsers) List(opts pkg_api.ListOptions) (result *api.UserList, err error)

func (*FakeUsers) Update

func (c *FakeUsers) Update(user *api.User) (result *api.User, err error)

func (*FakeUsers) Watch

func (c *FakeUsers) Watch(opts pkg_api.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

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