Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterServiceBrokers
- func (c *FakeClusterServiceBrokers) Create(clusterServiceBroker *servicecatalog.ClusterServiceBroker) (result *servicecatalog.ClusterServiceBroker, err error)
- func (c *FakeClusterServiceBrokers) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterServiceBrokers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterServiceBrokers) Get(name string, options v1.GetOptions) (result *servicecatalog.ClusterServiceBroker, err error)
- func (c *FakeClusterServiceBrokers) List(opts v1.ListOptions) (result *servicecatalog.ClusterServiceBrokerList, err error)
- func (c *FakeClusterServiceBrokers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.ClusterServiceBroker, err error)
- func (c *FakeClusterServiceBrokers) Update(clusterServiceBroker *servicecatalog.ClusterServiceBroker) (result *servicecatalog.ClusterServiceBroker, err error)
- func (c *FakeClusterServiceBrokers) UpdateStatus(clusterServiceBroker *servicecatalog.ClusterServiceBroker) (*servicecatalog.ClusterServiceBroker, error)
- func (c *FakeClusterServiceBrokers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterServiceClasses
- func (c *FakeClusterServiceClasses) Create(clusterServiceClass *servicecatalog.ClusterServiceClass) (result *servicecatalog.ClusterServiceClass, err error)
- func (c *FakeClusterServiceClasses) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterServiceClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterServiceClasses) Get(name string, options v1.GetOptions) (result *servicecatalog.ClusterServiceClass, err error)
- func (c *FakeClusterServiceClasses) List(opts v1.ListOptions) (result *servicecatalog.ClusterServiceClassList, err error)
- func (c *FakeClusterServiceClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.ClusterServiceClass, err error)
- func (c *FakeClusterServiceClasses) Update(clusterServiceClass *servicecatalog.ClusterServiceClass) (result *servicecatalog.ClusterServiceClass, err error)
- func (c *FakeClusterServiceClasses) UpdateStatus(clusterServiceClass *servicecatalog.ClusterServiceClass) (*servicecatalog.ClusterServiceClass, error)
- func (c *FakeClusterServiceClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterServicePlans
- func (c *FakeClusterServicePlans) Create(clusterServicePlan *servicecatalog.ClusterServicePlan) (result *servicecatalog.ClusterServicePlan, err error)
- func (c *FakeClusterServicePlans) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusterServicePlans) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusterServicePlans) Get(name string, options v1.GetOptions) (result *servicecatalog.ClusterServicePlan, err error)
- func (c *FakeClusterServicePlans) List(opts v1.ListOptions) (result *servicecatalog.ClusterServicePlanList, err error)
- func (c *FakeClusterServicePlans) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.ClusterServicePlan, err error)
- func (c *FakeClusterServicePlans) Update(clusterServicePlan *servicecatalog.ClusterServicePlan) (result *servicecatalog.ClusterServicePlan, err error)
- func (c *FakeClusterServicePlans) UpdateStatus(clusterServicePlan *servicecatalog.ClusterServicePlan) (*servicecatalog.ClusterServicePlan, error)
- func (c *FakeClusterServicePlans) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceBindings
- func (c *FakeServiceBindings) Create(serviceBinding *servicecatalog.ServiceBinding) (result *servicecatalog.ServiceBinding, err error)
- func (c *FakeServiceBindings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeServiceBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeServiceBindings) Get(name string, options v1.GetOptions) (result *servicecatalog.ServiceBinding, err error)
- func (c *FakeServiceBindings) List(opts v1.ListOptions) (result *servicecatalog.ServiceBindingList, err error)
- func (c *FakeServiceBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.ServiceBinding, err error)
- func (c *FakeServiceBindings) Update(serviceBinding *servicecatalog.ServiceBinding) (result *servicecatalog.ServiceBinding, err error)
- func (c *FakeServiceBindings) UpdateStatus(serviceBinding *servicecatalog.ServiceBinding) (*servicecatalog.ServiceBinding, error)
- func (c *FakeServiceBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceInstances
- func (c *FakeServiceInstances) Create(serviceInstance *servicecatalog.ServiceInstance) (result *servicecatalog.ServiceInstance, err error)
- func (c *FakeServiceInstances) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeServiceInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeServiceInstances) Get(name string, options v1.GetOptions) (result *servicecatalog.ServiceInstance, err error)
- func (c *FakeServiceInstances) List(opts v1.ListOptions) (result *servicecatalog.ServiceInstanceList, err error)
- func (c *FakeServiceInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *servicecatalog.ServiceInstance, err error)
- func (c *FakeServiceInstances) Update(serviceInstance *servicecatalog.ServiceInstance) (result *servicecatalog.ServiceInstance, err error)
- func (c *FakeServiceInstances) UpdateStatus(serviceInstance *servicecatalog.ServiceInstance) (*servicecatalog.ServiceInstance, error)
- func (c *FakeServiceInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeServicecatalog
- func (c *FakeServicecatalog) ClusterServiceBrokers() internalversion.ClusterServiceBrokerInterface
- func (c *FakeServicecatalog) ClusterServiceClasses() internalversion.ClusterServiceClassInterface
- func (c *FakeServicecatalog) ClusterServicePlans() internalversion.ClusterServicePlanInterface
- func (c *FakeServicecatalog) RESTClient() rest.Interface
- func (c *FakeServicecatalog) ServiceBindings(namespace string) internalversion.ServiceBindingInterface
- func (c *FakeServicecatalog) ServiceInstances(namespace string) internalversion.ServiceInstanceInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClusterServiceBrokers ¶
type FakeClusterServiceBrokers struct {
Fake *FakeServicecatalog
}
FakeClusterServiceBrokers implements ClusterServiceBrokerInterface
func (*FakeClusterServiceBrokers) Create ¶
func (c *FakeClusterServiceBrokers) Create(clusterServiceBroker *servicecatalog.ClusterServiceBroker) (result *servicecatalog.ClusterServiceBroker, err error)
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 ¶
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 ¶
func (c *FakeClusterServiceBrokers) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterServiceBrokers) Get ¶
func (c *FakeClusterServiceBrokers) Get(name string, options v1.GetOptions) (result *servicecatalog.ClusterServiceBroker, err error)
Get takes name of the clusterServiceBroker, and returns the corresponding clusterServiceBroker object, and an error if there is any.
func (*FakeClusterServiceBrokers) List ¶
func (c *FakeClusterServiceBrokers) List(opts v1.ListOptions) (result *servicecatalog.ClusterServiceBrokerList, err error)
List takes label and field selectors, and returns the list of ClusterServiceBrokers that match those selectors.
func (*FakeClusterServiceBrokers) Patch ¶
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 ¶
func (c *FakeClusterServiceBrokers) Update(clusterServiceBroker *servicecatalog.ClusterServiceBroker) (result *servicecatalog.ClusterServiceBroker, err error)
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 ¶
func (c *FakeClusterServiceBrokers) UpdateStatus(clusterServiceBroker *servicecatalog.ClusterServiceBroker) (*servicecatalog.ClusterServiceBroker, error)
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 ¶
func (c *FakeClusterServiceBrokers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterServiceBrokers.
type FakeClusterServiceClasses ¶
type FakeClusterServiceClasses struct {
Fake *FakeServicecatalog
}
FakeClusterServiceClasses implements ClusterServiceClassInterface
func (*FakeClusterServiceClasses) Create ¶
func (c *FakeClusterServiceClasses) Create(clusterServiceClass *servicecatalog.ClusterServiceClass) (result *servicecatalog.ClusterServiceClass, err error)
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 ¶
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 ¶
func (c *FakeClusterServiceClasses) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterServiceClasses) Get ¶
func (c *FakeClusterServiceClasses) Get(name string, options v1.GetOptions) (result *servicecatalog.ClusterServiceClass, err error)
Get takes name of the clusterServiceClass, and returns the corresponding clusterServiceClass object, and an error if there is any.
func (*FakeClusterServiceClasses) List ¶
func (c *FakeClusterServiceClasses) List(opts v1.ListOptions) (result *servicecatalog.ClusterServiceClassList, err error)
List takes label and field selectors, and returns the list of ClusterServiceClasses that match those selectors.
func (*FakeClusterServiceClasses) Patch ¶
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 ¶
func (c *FakeClusterServiceClasses) Update(clusterServiceClass *servicecatalog.ClusterServiceClass) (result *servicecatalog.ClusterServiceClass, err error)
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 ¶
func (c *FakeClusterServiceClasses) UpdateStatus(clusterServiceClass *servicecatalog.ClusterServiceClass) (*servicecatalog.ClusterServiceClass, error)
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 ¶
func (c *FakeClusterServiceClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterServiceClasses.
type FakeClusterServicePlans ¶
type FakeClusterServicePlans struct {
Fake *FakeServicecatalog
}
FakeClusterServicePlans implements ClusterServicePlanInterface
func (*FakeClusterServicePlans) Create ¶
func (c *FakeClusterServicePlans) Create(clusterServicePlan *servicecatalog.ClusterServicePlan) (result *servicecatalog.ClusterServicePlan, err error)
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 ¶
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 ¶
func (c *FakeClusterServicePlans) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterServicePlans) Get ¶
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 ¶
func (c *FakeClusterServicePlans) List(opts v1.ListOptions) (result *servicecatalog.ClusterServicePlanList, err error)
List takes label and field selectors, and returns the list of ClusterServicePlans that match those selectors.
func (*FakeClusterServicePlans) Patch ¶
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 ¶
func (c *FakeClusterServicePlans) Update(clusterServicePlan *servicecatalog.ClusterServicePlan) (result *servicecatalog.ClusterServicePlan, err error)
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 ¶
func (c *FakeClusterServicePlans) UpdateStatus(clusterServicePlan *servicecatalog.ClusterServicePlan) (*servicecatalog.ClusterServicePlan, error)
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 ¶
func (c *FakeClusterServicePlans) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterServicePlans.
type FakeServiceBindings ¶
type FakeServiceBindings struct { Fake *FakeServicecatalog // contains filtered or unexported fields }
FakeServiceBindings implements ServiceBindingInterface
func (*FakeServiceBindings) Create ¶
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 ¶
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 ¶
func (c *FakeServiceBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceBindings) Get ¶
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 ¶
func (c *FakeServiceBindings) List(opts v1.ListOptions) (result *servicecatalog.ServiceBindingList, err error)
List takes label and field selectors, and returns the list of ServiceBindings that match those selectors.
func (*FakeServiceBindings) Patch ¶
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 ¶
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 ¶
func (c *FakeServiceBindings) UpdateStatus(serviceBinding *servicecatalog.ServiceBinding) (*servicecatalog.ServiceBinding, error)
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 ¶
func (c *FakeServiceBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceBindings.
type FakeServiceInstances ¶
type FakeServiceInstances struct { Fake *FakeServicecatalog // contains filtered or unexported fields }
FakeServiceInstances implements ServiceInstanceInterface
func (*FakeServiceInstances) Create ¶
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 ¶
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 ¶
func (c *FakeServiceInstances) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceInstances) Get ¶
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 ¶
func (c *FakeServiceInstances) List(opts v1.ListOptions) (result *servicecatalog.ServiceInstanceList, err error)
List takes label and field selectors, and returns the list of ServiceInstances that match those selectors.
func (*FakeServiceInstances) Patch ¶
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 ¶
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 ¶
func (c *FakeServiceInstances) UpdateStatus(serviceInstance *servicecatalog.ServiceInstance) (*servicecatalog.ServiceInstance, error)
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 ¶
func (c *FakeServiceInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceInstances.
type FakeServicecatalog ¶
func (*FakeServicecatalog) ClusterServiceBrokers ¶
func (c *FakeServicecatalog) ClusterServiceBrokers() internalversion.ClusterServiceBrokerInterface
func (*FakeServicecatalog) ClusterServiceClasses ¶
func (c *FakeServicecatalog) ClusterServiceClasses() internalversion.ClusterServiceClassInterface
func (*FakeServicecatalog) ClusterServicePlans ¶
func (c *FakeServicecatalog) ClusterServicePlans() internalversion.ClusterServicePlanInterface
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 ¶
func (c *FakeServicecatalog) ServiceBindings(namespace string) internalversion.ServiceBindingInterface
func (*FakeServicecatalog) ServiceInstances ¶
func (c *FakeServicecatalog) ServiceInstances(namespace string) internalversion.ServiceInstanceInterface