Version: v1.5.0 Latest Latest

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

Go to latest
Published: Apr 21, 2017 License: Apache-2.0 Imports: 9 Imported by: 0



Package fake has the automatically generated clients.



This section is empty.


This section is empty.


This section is empty.


type FakeCoreV1

type FakeCoreV1 struct {

func (*FakeCoreV1) RESTClient

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

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

func (*FakeCoreV1) Templates

func (c *FakeCoreV1) Templates(namespace string) v1.TemplateInterface

type FakeTemplates

type FakeTemplates struct {
	Fake *FakeCoreV1
	// contains filtered or unexported fields

FakeTemplates implements TemplateInterface

func (*FakeTemplates) Create

func (c *FakeTemplates) Create(template *v1.Template) (result *v1.Template, err error)

func (*FakeTemplates) Delete

func (c *FakeTemplates) Delete(name string, options *api_v1.DeleteOptions) error

func (*FakeTemplates) DeleteCollection

func (c *FakeTemplates) DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error

func (*FakeTemplates) Get

func (c *FakeTemplates) Get(name string) (result *v1.Template, err error)

func (*FakeTemplates) List

func (c *FakeTemplates) List(opts api_v1.ListOptions) (result *v1.TemplateList, err error)

func (*FakeTemplates) Patch

func (c *FakeTemplates) Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *v1.Template, err error)

Patch applies the patch and returns the patched template.

func (*FakeTemplates) Update

func (c *FakeTemplates) Update(template *v1.Template) (result *v1.Template, err error)

func (*FakeTemplates) Watch

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL