fake

package
v3.6.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 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 FakeBrokerTemplateInstances

type FakeBrokerTemplateInstances struct {
	Fake *FakeTemplate
}

FakeBrokerTemplateInstances implements BrokerTemplateInstanceInterface

func (*FakeBrokerTemplateInstances) Create

func (c *FakeBrokerTemplateInstances) Create(brokerTemplateInstance *template.BrokerTemplateInstance) (result *template.BrokerTemplateInstance, err error)

func (*FakeBrokerTemplateInstances) Delete

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

func (*FakeBrokerTemplateInstances) DeleteCollection

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

func (*FakeBrokerTemplateInstances) Get

func (*FakeBrokerTemplateInstances) List

func (*FakeBrokerTemplateInstances) Patch

func (c *FakeBrokerTemplateInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *template.BrokerTemplateInstance, err error)

Patch applies the patch and returns the patched brokerTemplateInstance.

func (*FakeBrokerTemplateInstances) Update

func (c *FakeBrokerTemplateInstances) Update(brokerTemplateInstance *template.BrokerTemplateInstance) (result *template.BrokerTemplateInstance, err error)

func (*FakeBrokerTemplateInstances) Watch

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

type FakeTemplate

type FakeTemplate struct {
	*testing.Fake
}

func (*FakeTemplate) BrokerTemplateInstances

func (c *FakeTemplate) BrokerTemplateInstances() internalversion.BrokerTemplateInstanceInterface

func (*FakeTemplate) RESTClient

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

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

func (*FakeTemplate) TemplateInstances

func (c *FakeTemplate) TemplateInstances(namespace string) internalversion.TemplateInstanceInterface

func (*FakeTemplate) Templates

type FakeTemplateInstances

type FakeTemplateInstances struct {
	Fake *FakeTemplate
	// contains filtered or unexported fields
}

FakeTemplateInstances implements TemplateInstanceInterface

func (*FakeTemplateInstances) Create

func (c *FakeTemplateInstances) Create(templateInstance *template.TemplateInstance) (result *template.TemplateInstance, err error)

func (*FakeTemplateInstances) Delete

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

func (*FakeTemplateInstances) DeleteCollection

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

func (*FakeTemplateInstances) Get

func (c *FakeTemplateInstances) Get(name string, options v1.GetOptions) (result *template.TemplateInstance, err error)

func (*FakeTemplateInstances) List

func (*FakeTemplateInstances) Patch

func (c *FakeTemplateInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *template.TemplateInstance, err error)

Patch applies the patch and returns the patched templateInstance.

func (*FakeTemplateInstances) Update

func (c *FakeTemplateInstances) Update(templateInstance *template.TemplateInstance) (result *template.TemplateInstance, err error)

func (*FakeTemplateInstances) UpdateStatus

func (c *FakeTemplateInstances) UpdateStatus(templateInstance *template.TemplateInstance) (*template.TemplateInstance, error)

func (*FakeTemplateInstances) Watch

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

type FakeTemplates

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

FakeTemplates implements TemplateResourceInterface

func (*FakeTemplates) Create

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

func (*FakeTemplates) Delete

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

func (*FakeTemplates) DeleteCollection

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

func (*FakeTemplates) Get

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

func (*FakeTemplates) List

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

func (*FakeTemplates) Patch

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

Patch applies the patch and returns the patched templateResource.

func (*FakeTemplates) Update

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

func (*FakeTemplates) Watch

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

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