fake

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license. Package fake has the automatically generated clients.

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeBindingTemplates

type FakeBindingTemplates struct {
	Fake *FakeTemplatesExperimental
	// contains filtered or unexported fields
}

FakeBindingTemplates implements BindingTemplateInterface

func (*FakeBindingTemplates) Create

func (c *FakeBindingTemplates) Create(bindingTemplate *experimental.BindingTemplate) (result *experimental.BindingTemplate, err error)

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

func (*FakeBindingTemplates) Delete

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

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

func (*FakeBindingTemplates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBindingTemplates) Get

func (c *FakeBindingTemplates) Get(name string, options v1.GetOptions) (result *experimental.BindingTemplate, err error)

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

func (*FakeBindingTemplates) List

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

func (*FakeBindingTemplates) Patch

func (c *FakeBindingTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *experimental.BindingTemplate, err error)

Patch applies the patch and returns the patched bindingTemplate.

func (*FakeBindingTemplates) Update

func (c *FakeBindingTemplates) Update(bindingTemplate *experimental.BindingTemplate) (result *experimental.BindingTemplate, err error)

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

func (*FakeBindingTemplates) Watch

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

type FakeBrokerBindingTemplates

type FakeBrokerBindingTemplates struct {
	Fake *FakeTemplatesExperimental
}

FakeBrokerBindingTemplates implements BrokerBindingTemplateInterface

func (*FakeBrokerBindingTemplates) Create

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

func (*FakeBrokerBindingTemplates) Delete

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

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

func (*FakeBrokerBindingTemplates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBrokerBindingTemplates) Get

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

func (*FakeBrokerBindingTemplates) List

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

func (*FakeBrokerBindingTemplates) Patch

func (c *FakeBrokerBindingTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *experimental.BrokerBindingTemplate, err error)

Patch applies the patch and returns the patched brokerBindingTemplate.

func (*FakeBrokerBindingTemplates) Update

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

func (*FakeBrokerBindingTemplates) Watch

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

type FakeBrokerInstanceTemplates

type FakeBrokerInstanceTemplates struct {
	Fake *FakeTemplatesExperimental
}

FakeBrokerInstanceTemplates implements BrokerInstanceTemplateInterface

func (*FakeBrokerInstanceTemplates) Create

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

func (*FakeBrokerInstanceTemplates) Delete

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

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

func (*FakeBrokerInstanceTemplates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBrokerInstanceTemplates) Get

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

func (*FakeBrokerInstanceTemplates) List

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

func (*FakeBrokerInstanceTemplates) Patch

func (c *FakeBrokerInstanceTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *experimental.BrokerInstanceTemplate, err error)

Patch applies the patch and returns the patched brokerInstanceTemplate.

func (*FakeBrokerInstanceTemplates) Update

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

func (*FakeBrokerInstanceTemplates) Watch

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

type FakeClusterBindingTemplates

type FakeClusterBindingTemplates struct {
	Fake *FakeTemplatesExperimental
}

FakeClusterBindingTemplates implements ClusterBindingTemplateInterface

func (*FakeClusterBindingTemplates) Create

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

func (*FakeClusterBindingTemplates) Delete

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

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

func (*FakeClusterBindingTemplates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterBindingTemplates) Get

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

func (*FakeClusterBindingTemplates) List

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

func (*FakeClusterBindingTemplates) Patch

func (c *FakeClusterBindingTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *experimental.ClusterBindingTemplate, err error)

Patch applies the patch and returns the patched clusterBindingTemplate.

func (*FakeClusterBindingTemplates) Update

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

func (*FakeClusterBindingTemplates) Watch

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

type FakeClusterInstanceTemplates

type FakeClusterInstanceTemplates struct {
	Fake *FakeTemplatesExperimental
}

FakeClusterInstanceTemplates implements ClusterInstanceTemplateInterface

func (*FakeClusterInstanceTemplates) Create

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

func (*FakeClusterInstanceTemplates) Delete

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

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

func (*FakeClusterInstanceTemplates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterInstanceTemplates) Get

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

func (*FakeClusterInstanceTemplates) List

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

func (*FakeClusterInstanceTemplates) Patch

func (c *FakeClusterInstanceTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *experimental.ClusterInstanceTemplate, err error)

Patch applies the patch and returns the patched clusterInstanceTemplate.

func (*FakeClusterInstanceTemplates) Update

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

func (*FakeClusterInstanceTemplates) Watch

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

type FakeInstanceTemplates

type FakeInstanceTemplates struct {
	Fake *FakeTemplatesExperimental
	// contains filtered or unexported fields
}

FakeInstanceTemplates implements InstanceTemplateInterface

func (*FakeInstanceTemplates) Create

func (c *FakeInstanceTemplates) Create(instanceTemplate *experimental.InstanceTemplate) (result *experimental.InstanceTemplate, err error)

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

func (*FakeInstanceTemplates) Delete

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

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

func (*FakeInstanceTemplates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeInstanceTemplates) Get

func (c *FakeInstanceTemplates) Get(name string, options v1.GetOptions) (result *experimental.InstanceTemplate, err error)

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

func (*FakeInstanceTemplates) List

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

func (*FakeInstanceTemplates) Patch

func (c *FakeInstanceTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *experimental.InstanceTemplate, err error)

Patch applies the patch and returns the patched instanceTemplate.

func (*FakeInstanceTemplates) Update

func (c *FakeInstanceTemplates) Update(instanceTemplate *experimental.InstanceTemplate) (result *experimental.InstanceTemplate, err error)

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

func (*FakeInstanceTemplates) Watch

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

type FakeTemplatedBindings

type FakeTemplatedBindings struct {
	Fake *FakeTemplatesExperimental
	// contains filtered or unexported fields
}

FakeTemplatedBindings implements TemplatedBindingInterface

func (*FakeTemplatedBindings) Create

func (c *FakeTemplatedBindings) Create(templatedBinding *experimental.TemplatedBinding) (result *experimental.TemplatedBinding, err error)

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

func (*FakeTemplatedBindings) Delete

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

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

func (*FakeTemplatedBindings) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTemplatedBindings) Get

func (c *FakeTemplatedBindings) Get(name string, options v1.GetOptions) (result *experimental.TemplatedBinding, err error)

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

func (*FakeTemplatedBindings) List

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

func (*FakeTemplatedBindings) Patch

func (c *FakeTemplatedBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *experimental.TemplatedBinding, err error)

Patch applies the patch and returns the patched templatedBinding.

func (*FakeTemplatedBindings) Update

func (c *FakeTemplatedBindings) Update(templatedBinding *experimental.TemplatedBinding) (result *experimental.TemplatedBinding, err error)

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

func (*FakeTemplatedBindings) Watch

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

type FakeTemplatedInstances

type FakeTemplatedInstances struct {
	Fake *FakeTemplatesExperimental
	// contains filtered or unexported fields
}

FakeTemplatedInstances implements TemplatedInstanceInterface

func (*FakeTemplatedInstances) Create

func (c *FakeTemplatedInstances) Create(templatedInstance *experimental.TemplatedInstance) (result *experimental.TemplatedInstance, err error)

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

func (*FakeTemplatedInstances) Delete

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

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

func (*FakeTemplatedInstances) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeTemplatedInstances) Get

func (c *FakeTemplatedInstances) Get(name string, options v1.GetOptions) (result *experimental.TemplatedInstance, err error)

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

func (*FakeTemplatedInstances) List

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

func (*FakeTemplatedInstances) Patch

func (c *FakeTemplatedInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *experimental.TemplatedInstance, err error)

Patch applies the patch and returns the patched templatedInstance.

func (*FakeTemplatedInstances) Update

func (c *FakeTemplatedInstances) Update(templatedInstance *experimental.TemplatedInstance) (result *experimental.TemplatedInstance, err error)

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

func (*FakeTemplatedInstances) Watch

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

type FakeTemplatesExperimental

type FakeTemplatesExperimental struct {
	*testing.Fake
}

func (*FakeTemplatesExperimental) BindingTemplates

func (*FakeTemplatesExperimental) BrokerBindingTemplates

func (*FakeTemplatesExperimental) BrokerInstanceTemplates

func (*FakeTemplatesExperimental) ClusterBindingTemplates

func (*FakeTemplatesExperimental) ClusterInstanceTemplates

func (*FakeTemplatesExperimental) InstanceTemplates

func (*FakeTemplatesExperimental) RESTClient

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

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

func (*FakeTemplatesExperimental) TemplatedBindings

func (*FakeTemplatesExperimental) TemplatedInstances

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL