fake

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 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 FakeClusterServiceBrokers added in v0.0.24

type FakeClusterServiceBrokers struct {
	Fake *FakeServicecatalog
}

FakeClusterServiceBrokers implements ClusterServiceBrokerInterface

func (*FakeClusterServiceBrokers) Create added in v0.0.24

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

func (*FakeClusterServiceBrokers) Delete added in v0.0.24

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

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

func (*FakeClusterServiceBrokers) DeleteCollection added in v0.0.24

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterServiceBrokers) Get added in v0.0.24

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

func (*FakeClusterServiceBrokers) List added in v0.0.24

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

func (*FakeClusterServiceBrokers) Patch added in v0.0.24

func (c *FakeClusterServiceBrokers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.ClusterServiceBroker, err error)

Patch applies the patch and returns the patched clusterServiceBroker.

func (*FakeClusterServiceBrokers) Update added in v0.0.24

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

func (*FakeClusterServiceBrokers) UpdateStatus added in v0.0.24

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

func (*FakeClusterServiceBrokers) Watch added in v0.0.24

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

type FakeClusterServiceClasses added in v0.0.24

type FakeClusterServiceClasses struct {
	Fake *FakeServicecatalog
}

FakeClusterServiceClasses implements ClusterServiceClassInterface

func (*FakeClusterServiceClasses) Create added in v0.0.24

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

func (*FakeClusterServiceClasses) Delete added in v0.0.24

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

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

func (*FakeClusterServiceClasses) DeleteCollection added in v0.0.24

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterServiceClasses) Get added in v0.0.24

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

func (*FakeClusterServiceClasses) List added in v0.0.24

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

func (*FakeClusterServiceClasses) Patch added in v0.0.24

func (c *FakeClusterServiceClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.ClusterServiceClass, err error)

Patch applies the patch and returns the patched clusterServiceClass.

func (*FakeClusterServiceClasses) Update added in v0.0.24

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

func (*FakeClusterServiceClasses) UpdateStatus added in v0.0.24

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

func (*FakeClusterServiceClasses) Watch added in v0.0.24

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

type FakeClusterServicePlans added in v0.0.24

type FakeClusterServicePlans struct {
	Fake *FakeServicecatalog
}

FakeClusterServicePlans implements ClusterServicePlanInterface

func (*FakeClusterServicePlans) Create added in v0.0.24

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

func (*FakeClusterServicePlans) Delete added in v0.0.24

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

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

func (*FakeClusterServicePlans) DeleteCollection added in v0.0.24

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterServicePlans) Get added in v0.0.24

func (c *FakeClusterServicePlans) Get(name string, options v1.GetOptions) (result *servicecatalog.ClusterServicePlan, err error)

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

func (*FakeClusterServicePlans) List added in v0.0.24

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

func (*FakeClusterServicePlans) Patch added in v0.0.24

func (c *FakeClusterServicePlans) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.ClusterServicePlan, err error)

Patch applies the patch and returns the patched clusterServicePlan.

func (*FakeClusterServicePlans) Update added in v0.0.24

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

func (*FakeClusterServicePlans) UpdateStatus added in v0.0.24

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

func (*FakeClusterServicePlans) Watch added in v0.0.24

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

type FakeServiceBindings added in v0.0.24

type FakeServiceBindings struct {
	Fake *FakeServicecatalog
	// contains filtered or unexported fields
}

FakeServiceBindings implements ServiceBindingInterface

func (*FakeServiceBindings) Create added in v0.0.24

func (c *FakeServiceBindings) Create(serviceBinding *servicecatalog.ServiceBinding) (result *servicecatalog.ServiceBinding, err error)

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

func (*FakeServiceBindings) Delete added in v0.0.24

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

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

func (*FakeServiceBindings) DeleteCollection added in v0.0.24

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

DeleteCollection deletes a collection of objects.

func (*FakeServiceBindings) Get added in v0.0.24

func (c *FakeServiceBindings) Get(name string, options v1.GetOptions) (result *servicecatalog.ServiceBinding, err error)

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

func (*FakeServiceBindings) List added in v0.0.24

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

func (*FakeServiceBindings) Patch added in v0.0.24

func (c *FakeServiceBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.ServiceBinding, err error)

Patch applies the patch and returns the patched serviceBinding.

func (*FakeServiceBindings) Update added in v0.0.24

func (c *FakeServiceBindings) Update(serviceBinding *servicecatalog.ServiceBinding) (result *servicecatalog.ServiceBinding, err error)

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

func (*FakeServiceBindings) UpdateStatus added in v0.0.24

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

func (*FakeServiceBindings) Watch added in v0.0.24

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

type FakeServiceBrokers added in v0.0.17

type FakeServiceBrokers struct {
	Fake *FakeServicecatalog
	// contains filtered or unexported fields
}

FakeServiceBrokers implements ServiceBrokerInterface

func (*FakeServiceBrokers) Create added in v0.0.17

func (c *FakeServiceBrokers) Create(serviceBroker *servicecatalog.ServiceBroker) (result *servicecatalog.ServiceBroker, err error)

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

func (*FakeServiceBrokers) Delete added in v0.0.17

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

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

func (*FakeServiceBrokers) DeleteCollection added in v0.0.17

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

DeleteCollection deletes a collection of objects.

func (*FakeServiceBrokers) Get added in v0.0.17

func (c *FakeServiceBrokers) Get(name string, options v1.GetOptions) (result *servicecatalog.ServiceBroker, err error)

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

func (*FakeServiceBrokers) List added in v0.0.17

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

func (*FakeServiceBrokers) Patch added in v0.0.17

func (c *FakeServiceBrokers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.ServiceBroker, err error)

Patch applies the patch and returns the patched serviceBroker.

func (*FakeServiceBrokers) Update added in v0.0.17

func (c *FakeServiceBrokers) Update(serviceBroker *servicecatalog.ServiceBroker) (result *servicecatalog.ServiceBroker, err error)

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

func (*FakeServiceBrokers) UpdateStatus added in v0.0.17

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

func (*FakeServiceBrokers) Watch added in v0.0.17

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

type FakeServiceClasses

type FakeServiceClasses struct {
	Fake *FakeServicecatalog
	// contains filtered or unexported fields
}

FakeServiceClasses implements ServiceClassInterface

func (*FakeServiceClasses) Create

func (c *FakeServiceClasses) Create(serviceClass *servicecatalog.ServiceClass) (result *servicecatalog.ServiceClass, err error)

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

func (*FakeServiceClasses) Delete

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

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

func (*FakeServiceClasses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeServiceClasses) Get

func (c *FakeServiceClasses) Get(name string, options v1.GetOptions) (result *servicecatalog.ServiceClass, err error)

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

func (*FakeServiceClasses) List

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

func (*FakeServiceClasses) Patch

func (c *FakeServiceClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.ServiceClass, err error)

Patch applies the patch and returns the patched serviceClass.

func (*FakeServiceClasses) Update

func (c *FakeServiceClasses) Update(serviceClass *servicecatalog.ServiceClass) (result *servicecatalog.ServiceClass, err error)

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

func (*FakeServiceClasses) UpdateStatus added in v0.1.31

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

func (*FakeServiceClasses) Watch

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

type FakeServiceInstances added in v0.0.17

type FakeServiceInstances struct {
	Fake *FakeServicecatalog
	// contains filtered or unexported fields
}

FakeServiceInstances implements ServiceInstanceInterface

func (*FakeServiceInstances) Create added in v0.0.17

func (c *FakeServiceInstances) Create(serviceInstance *servicecatalog.ServiceInstance) (result *servicecatalog.ServiceInstance, err error)

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

func (*FakeServiceInstances) Delete added in v0.0.17

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

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

func (*FakeServiceInstances) DeleteCollection added in v0.0.17

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

DeleteCollection deletes a collection of objects.

func (*FakeServiceInstances) Get added in v0.0.17

func (c *FakeServiceInstances) Get(name string, options v1.GetOptions) (result *servicecatalog.ServiceInstance, err error)

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

func (*FakeServiceInstances) List added in v0.0.17

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

func (*FakeServiceInstances) Patch added in v0.0.17

func (c *FakeServiceInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.ServiceInstance, err error)

Patch applies the patch and returns the patched serviceInstance.

func (*FakeServiceInstances) Update added in v0.0.17

func (c *FakeServiceInstances) Update(serviceInstance *servicecatalog.ServiceInstance) (result *servicecatalog.ServiceInstance, err error)

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

func (*FakeServiceInstances) UpdateStatus added in v0.0.17

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

func (*FakeServiceInstances) Watch added in v0.0.17

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

type FakeServicePlans added in v0.0.22

type FakeServicePlans struct {
	Fake *FakeServicecatalog
	// contains filtered or unexported fields
}

FakeServicePlans implements ServicePlanInterface

func (*FakeServicePlans) Create added in v0.0.22

func (c *FakeServicePlans) Create(servicePlan *servicecatalog.ServicePlan) (result *servicecatalog.ServicePlan, err error)

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

func (*FakeServicePlans) Delete added in v0.0.22

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

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

func (*FakeServicePlans) DeleteCollection added in v0.0.22

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

DeleteCollection deletes a collection of objects.

func (*FakeServicePlans) Get added in v0.0.22

func (c *FakeServicePlans) Get(name string, options v1.GetOptions) (result *servicecatalog.ServicePlan, err error)

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

func (*FakeServicePlans) List added in v0.0.22

func (c *FakeServicePlans) List(opts v1.ListOptions) (result *servicecatalog.ServicePlanList, err error)

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

func (*FakeServicePlans) Patch added in v0.0.22

func (c *FakeServicePlans) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.ServicePlan, err error)

Patch applies the patch and returns the patched servicePlan.

func (*FakeServicePlans) Update added in v0.0.22

func (c *FakeServicePlans) Update(servicePlan *servicecatalog.ServicePlan) (result *servicecatalog.ServicePlan, err error)

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

func (*FakeServicePlans) UpdateStatus added in v0.1.31

func (c *FakeServicePlans) UpdateStatus(servicePlan *servicecatalog.ServicePlan) (*servicecatalog.ServicePlan, error)

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

func (*FakeServicePlans) Watch added in v0.0.22

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

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

type FakeServicecatalog

type FakeServicecatalog struct {
	*testing.Fake
}

func (*FakeServicecatalog) ClusterServiceBrokers added in v0.0.24

func (*FakeServicecatalog) ClusterServiceClasses added in v0.0.24

func (*FakeServicecatalog) ClusterServicePlans added in v0.0.24

func (*FakeServicecatalog) RESTClient

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

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

func (*FakeServicecatalog) ServiceBindings added in v0.0.24

func (c *FakeServicecatalog) ServiceBindings(namespace string) internalversion.ServiceBindingInterface

func (*FakeServicecatalog) ServiceBrokers added in v0.0.17

func (c *FakeServicecatalog) ServiceBrokers(namespace string) internalversion.ServiceBrokerInterface

func (*FakeServicecatalog) ServiceClasses

func (c *FakeServicecatalog) ServiceClasses(namespace string) internalversion.ServiceClassInterface

func (*FakeServicecatalog) ServiceInstances added in v0.0.17

func (c *FakeServicecatalog) ServiceInstances(namespace string) internalversion.ServiceInstanceInterface

func (*FakeServicecatalog) ServicePlans added in v0.0.22

Jump to

Keyboard shortcuts

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