fake

package
v1.5.0-alpha.3 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 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) RESTClient

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

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

func (*FakeCore) Routes

func (c *FakeCore) Routes(namespace string) internalversion.RouteInterface

type FakeRoutes

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

FakeRoutes implements RouteInterface

func (*FakeRoutes) Create

func (c *FakeRoutes) Create(route *api.Route) (result *api.Route, err error)

func (*FakeRoutes) Delete

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

func (*FakeRoutes) DeleteCollection

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

func (*FakeRoutes) Get

func (c *FakeRoutes) Get(name string) (result *api.Route, err error)

func (*FakeRoutes) List

func (c *FakeRoutes) List(opts pkg_api.ListOptions) (result *api.RouteList, err error)

func (*FakeRoutes) Patch

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

Patch applies the patch and returns the patched route.

func (*FakeRoutes) Update

func (c *FakeRoutes) Update(route *api.Route) (result *api.Route, err error)

func (*FakeRoutes) Watch

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

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

Jump to

Keyboard shortcuts

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