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 FakeRouteV1

type FakeRouteV1 struct {
	*testing.Fake
}

func (*FakeRouteV1) RESTClient

func (c *FakeRouteV1) RESTClient() rest.Interface

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

func (*FakeRouteV1) Routes

func (c *FakeRouteV1) Routes(namespace string) v1.RouteResourceInterface

type FakeRoutes

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

FakeRoutes implements RouteResourceInterface

func (*FakeRoutes) Create

func (c *FakeRoutes) Create(routeResource *v1.Route) (result *v1.Route, err error)

func (*FakeRoutes) Delete

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

func (*FakeRoutes) DeleteCollection

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

func (*FakeRoutes) Get

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

func (*FakeRoutes) List

func (c *FakeRoutes) List(opts meta_v1.ListOptions) (result *v1.RouteList, err error)

func (*FakeRoutes) Patch

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

Patch applies the patch and returns the patched routeResource.

func (*FakeRoutes) Update

func (c *FakeRoutes) Update(routeResource *v1.Route) (result *v1.Route, err error)

func (*FakeRoutes) UpdateStatus

func (c *FakeRoutes) UpdateStatus(routeResource *v1.Route) (*v1.Route, error)

func (*FakeRoutes) Watch

func (c *FakeRoutes) Watch(opts meta_v1.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