fake

package
v1.7.16 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2018 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 FakeAPIServices

type FakeAPIServices struct {
	Fake *FakeApiregistration
}

FakeAPIServices implements APIServiceInterface

func (*FakeAPIServices) Create

func (c *FakeAPIServices) Create(aPIService *apiregistration.APIService) (result *apiregistration.APIService, err error)

func (*FakeAPIServices) Delete

func (c *FakeAPIServices) Delete(name string, options *v1.DeleteOptions) error

func (*FakeAPIServices) DeleteCollection

func (c *FakeAPIServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

func (*FakeAPIServices) Get

func (c *FakeAPIServices) Get(name string, options v1.GetOptions) (result *apiregistration.APIService, err error)

func (*FakeAPIServices) List

func (c *FakeAPIServices) List(opts v1.ListOptions) (result *apiregistration.APIServiceList, err error)

func (*FakeAPIServices) Patch

func (c *FakeAPIServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *apiregistration.APIService, err error)

Patch applies the patch and returns the patched aPIService.

func (*FakeAPIServices) Update

func (c *FakeAPIServices) Update(aPIService *apiregistration.APIService) (result *apiregistration.APIService, err error)

func (*FakeAPIServices) UpdateStatus

func (c *FakeAPIServices) UpdateStatus(aPIService *apiregistration.APIService) (*apiregistration.APIService, error)

func (*FakeAPIServices) Watch

func (c *FakeAPIServices) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeApiregistration

type FakeApiregistration struct {
	*testing.Fake
}

func (*FakeApiregistration) APIServices

func (*FakeApiregistration) RESTClient

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