fake

package
Version: v4.1.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2019 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)

Create takes the representation of a brokerTemplateInstance and creates it. Returns the server's representation of the brokerTemplateInstance, and an error, if there is any.

func (*FakeBrokerTemplateInstances) Delete

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

Delete takes name of the brokerTemplateInstance and deletes it. Returns an error if one occurs.

func (*FakeBrokerTemplateInstances) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBrokerTemplateInstances) Get

Get takes name of the brokerTemplateInstance, and returns the corresponding brokerTemplateInstance object, and an error if there is any.

func (*FakeBrokerTemplateInstances) List

List takes label and field selectors, and returns the list of BrokerTemplateInstances that match those selectors.

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)

Update takes the representation of a brokerTemplateInstance and updates it. Returns the server's representation of the brokerTemplateInstance, and an error, if there is any.

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)

Create takes the representation of a templateInstance and creates it. Returns the server's representation of the templateInstance, and an error, if there is any.

func (*FakeTemplateInstances) Delete

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

Delete takes name of the templateInstance and deletes it. Returns an error if one occurs.

func (*FakeTemplateInstances) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTemplateInstances) Get

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

Get takes name of the templateInstance, and returns the corresponding templateInstance object, and an error if there is any.

func (*FakeTemplateInstances) List

List takes label and field selectors, and returns the list of TemplateInstances that match those selectors.

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)

Update takes the representation of a templateInstance and updates it. Returns the server's representation of the templateInstance, and an error, if there is any.

func (*FakeTemplateInstances) UpdateStatus

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

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

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)

Create takes the representation of a templateResource and creates it. Returns the server's representation of the templateResource, and an error, if there is any.

func (*FakeTemplates) Delete

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

Delete takes name of the templateResource and deletes it. Returns an error if one occurs.

func (*FakeTemplates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTemplates) Get

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

Get takes name of the templateResource, and returns the corresponding templateResource object, and an error if there is any.

func (*FakeTemplates) List

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

List takes label and field selectors, and returns the list of Templates that match those selectors.

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)

Update takes the representation of a templateResource and updates it. Returns the server's representation of the templateResource, and an error, if there is any.

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
t or T : Toggle theme light dark auto
y or Y : Canonical URL