fake

package
v1.3.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 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) Templates

func (c *FakeCore) Templates(namespace string) unversioned.TemplateInterface

type FakeTemplates

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

FakeTemplates implements TemplateInterface

func (*FakeTemplates) Create

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

func (*FakeTemplates) Delete

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

func (*FakeTemplates) DeleteCollection

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

func (*FakeTemplates) Get

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

func (*FakeTemplates) List

func (c *FakeTemplates) List(opts pkg_api.ListOptions) (result *api.TemplateList, err error)

func (*FakeTemplates) Update

func (c *FakeTemplates) Update(template *api.Template) (result *api.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
y or Y : Canonical URL