Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeClusterServiceBrokers
- func (c *FakeClusterServiceBrokers) Create(clusterServiceBroker *v1alpha1.ClusterServiceBroker) (result *v1alpha1.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 *v1alpha1.ClusterServiceBroker, err error)
- func (c *FakeClusterServiceBrokers) List(opts v1.ListOptions) (result *v1alpha1.ClusterServiceBrokerList, err error)
- func (c *FakeClusterServiceBrokers) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterServiceBroker, err error)
- func (c *FakeClusterServiceBrokers) Update(clusterServiceBroker *v1alpha1.ClusterServiceBroker) (result *v1alpha1.ClusterServiceBroker, err error)
- func (c *FakeClusterServiceBrokers) UpdateStatus(clusterServiceBroker *v1alpha1.ClusterServiceBroker) (*v1alpha1.ClusterServiceBroker, error)
- func (c *FakeClusterServiceBrokers) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterServiceClasses
- func (c *FakeClusterServiceClasses) Create(clusterServiceClass *v1alpha1.ClusterServiceClass) (result *v1alpha1.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 *v1alpha1.ClusterServiceClass, err error)
- func (c *FakeClusterServiceClasses) List(opts v1.ListOptions) (result *v1alpha1.ClusterServiceClassList, err error)
- func (c *FakeClusterServiceClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterServiceClass, err error)
- func (c *FakeClusterServiceClasses) Update(clusterServiceClass *v1alpha1.ClusterServiceClass) (result *v1alpha1.ClusterServiceClass, err error)
- func (c *FakeClusterServiceClasses) UpdateStatus(clusterServiceClass *v1alpha1.ClusterServiceClass) (*v1alpha1.ClusterServiceClass, error)
- func (c *FakeClusterServiceClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterServicePlans
- func (c *FakeClusterServicePlans) Create(clusterServicePlan *v1alpha1.ClusterServicePlan) (result *v1alpha1.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 *v1alpha1.ClusterServicePlan, err error)
- func (c *FakeClusterServicePlans) List(opts v1.ListOptions) (result *v1alpha1.ClusterServicePlanList, err error)
- func (c *FakeClusterServicePlans) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ClusterServicePlan, err error)
- func (c *FakeClusterServicePlans) Update(clusterServicePlan *v1alpha1.ClusterServicePlan) (result *v1alpha1.ClusterServicePlan, err error)
- func (c *FakeClusterServicePlans) UpdateStatus(clusterServicePlan *v1alpha1.ClusterServicePlan) (*v1alpha1.ClusterServicePlan, error)
- func (c *FakeClusterServicePlans) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceBindings
- func (c *FakeServiceBindings) Create(serviceBinding *v1alpha1.ServiceBinding) (result *v1alpha1.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 *v1alpha1.ServiceBinding, err error)
- func (c *FakeServiceBindings) List(opts v1.ListOptions) (result *v1alpha1.ServiceBindingList, err error)
- func (c *FakeServiceBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ServiceBinding, err error)
- func (c *FakeServiceBindings) Update(serviceBinding *v1alpha1.ServiceBinding) (result *v1alpha1.ServiceBinding, err error)
- func (c *FakeServiceBindings) UpdateStatus(serviceBinding *v1alpha1.ServiceBinding) (*v1alpha1.ServiceBinding, error)
- func (c *FakeServiceBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceInstances
- func (c *FakeServiceInstances) Create(serviceInstance *v1alpha1.ServiceInstance) (result *v1alpha1.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 *v1alpha1.ServiceInstance, err error)
- func (c *FakeServiceInstances) List(opts v1.ListOptions) (result *v1alpha1.ServiceInstanceList, err error)
- func (c *FakeServiceInstances) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ServiceInstance, err error)
- func (c *FakeServiceInstances) Update(serviceInstance *v1alpha1.ServiceInstance) (result *v1alpha1.ServiceInstance, err error)
- func (c *FakeServiceInstances) UpdateReferences(serviceInstance *v1alpha1.ServiceInstance) (*v1alpha1.ServiceInstance, error)
- func (c *FakeServiceInstances) UpdateStatus(serviceInstance *v1alpha1.ServiceInstance) (*v1alpha1.ServiceInstance, error)
- func (c *FakeServiceInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeServicecatalogV1alpha1
- func (c *FakeServicecatalogV1alpha1) ClusterServiceBrokers() v1alpha1.ClusterServiceBrokerInterface
- func (c *FakeServicecatalogV1alpha1) ClusterServiceClasses() v1alpha1.ClusterServiceClassInterface
- func (c *FakeServicecatalogV1alpha1) ClusterServicePlans() v1alpha1.ClusterServicePlanInterface
- func (c *FakeServicecatalogV1alpha1) RESTClient() rest.Interface
- func (c *FakeServicecatalogV1alpha1) ServiceBindings(namespace string) v1alpha1.ServiceBindingInterface
- func (c *FakeServicecatalogV1alpha1) ServiceInstances(namespace string) v1alpha1.ServiceInstanceInterface
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 *FakeServicecatalogV1alpha1
}
FakeClusterServiceBrokers implements ClusterServiceBrokerInterface
func (*FakeClusterServiceBrokers) Create ¶ added in v0.0.24
func (c *FakeClusterServiceBrokers) Create(clusterServiceBroker *v1alpha1.ClusterServiceBroker) (result *v1alpha1.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 ¶ 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
func (c *FakeClusterServiceBrokers) Get(name string, options v1.GetOptions) (result *v1alpha1.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 ¶ added in v0.0.24
func (c *FakeClusterServiceBrokers) List(opts v1.ListOptions) (result *v1alpha1.ClusterServiceBrokerList, err error)
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 *v1alpha1.ClusterServiceBroker, err error)
Patch applies the patch and returns the patched clusterServiceBroker.
func (*FakeClusterServiceBrokers) Update ¶ added in v0.0.24
func (c *FakeClusterServiceBrokers) Update(clusterServiceBroker *v1alpha1.ClusterServiceBroker) (result *v1alpha1.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 ¶ added in v0.0.24
func (c *FakeClusterServiceBrokers) UpdateStatus(clusterServiceBroker *v1alpha1.ClusterServiceBroker) (*v1alpha1.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 ¶ added in v0.0.24
func (c *FakeClusterServiceBrokers) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterServiceBrokers.
type FakeClusterServiceClasses ¶ added in v0.0.24
type FakeClusterServiceClasses struct {
Fake *FakeServicecatalogV1alpha1
}
FakeClusterServiceClasses implements ClusterServiceClassInterface
func (*FakeClusterServiceClasses) Create ¶ added in v0.0.24
func (c *FakeClusterServiceClasses) Create(clusterServiceClass *v1alpha1.ClusterServiceClass) (result *v1alpha1.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 ¶ 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
func (c *FakeClusterServiceClasses) Get(name string, options v1.GetOptions) (result *v1alpha1.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 ¶ added in v0.0.24
func (c *FakeClusterServiceClasses) List(opts v1.ListOptions) (result *v1alpha1.ClusterServiceClassList, err error)
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 *v1alpha1.ClusterServiceClass, err error)
Patch applies the patch and returns the patched clusterServiceClass.
func (*FakeClusterServiceClasses) Update ¶ added in v0.0.24
func (c *FakeClusterServiceClasses) Update(clusterServiceClass *v1alpha1.ClusterServiceClass) (result *v1alpha1.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 ¶ added in v0.0.24
func (c *FakeClusterServiceClasses) UpdateStatus(clusterServiceClass *v1alpha1.ClusterServiceClass) (*v1alpha1.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 ¶ added in v0.0.24
func (c *FakeClusterServiceClasses) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterServiceClasses.
type FakeClusterServicePlans ¶ added in v0.0.24
type FakeClusterServicePlans struct {
Fake *FakeServicecatalogV1alpha1
}
FakeClusterServicePlans implements ClusterServicePlanInterface
func (*FakeClusterServicePlans) Create ¶ added in v0.0.24
func (c *FakeClusterServicePlans) Create(clusterServicePlan *v1alpha1.ClusterServicePlan) (result *v1alpha1.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 ¶ 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 *v1alpha1.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
func (c *FakeClusterServicePlans) List(opts v1.ListOptions) (result *v1alpha1.ClusterServicePlanList, err error)
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 *v1alpha1.ClusterServicePlan, err error)
Patch applies the patch and returns the patched clusterServicePlan.
func (*FakeClusterServicePlans) Update ¶ added in v0.0.24
func (c *FakeClusterServicePlans) Update(clusterServicePlan *v1alpha1.ClusterServicePlan) (result *v1alpha1.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 ¶ added in v0.0.24
func (c *FakeClusterServicePlans) UpdateStatus(clusterServicePlan *v1alpha1.ClusterServicePlan) (*v1alpha1.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 ¶ added in v0.0.24
func (c *FakeClusterServicePlans) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterServicePlans.
type FakeServiceBindings ¶ added in v0.0.24
type FakeServiceBindings struct { Fake *FakeServicecatalogV1alpha1 // contains filtered or unexported fields }
FakeServiceBindings implements ServiceBindingInterface
func (*FakeServiceBindings) Create ¶ added in v0.0.24
func (c *FakeServiceBindings) Create(serviceBinding *v1alpha1.ServiceBinding) (result *v1alpha1.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 *v1alpha1.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
func (c *FakeServiceBindings) List(opts v1.ListOptions) (result *v1alpha1.ServiceBindingList, err error)
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 *v1alpha1.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 *v1alpha1.ServiceBinding) (result *v1alpha1.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
func (c *FakeServiceBindings) UpdateStatus(serviceBinding *v1alpha1.ServiceBinding) (*v1alpha1.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 ¶ added in v0.0.24
func (c *FakeServiceBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceBindings.
type FakeServiceInstances ¶ added in v0.0.17
type FakeServiceInstances struct { Fake *FakeServicecatalogV1alpha1 // contains filtered or unexported fields }
FakeServiceInstances implements ServiceInstanceInterface
func (*FakeServiceInstances) Create ¶ added in v0.0.17
func (c *FakeServiceInstances) Create(serviceInstance *v1alpha1.ServiceInstance) (result *v1alpha1.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 *v1alpha1.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
func (c *FakeServiceInstances) List(opts v1.ListOptions) (result *v1alpha1.ServiceInstanceList, err error)
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 *v1alpha1.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 *v1alpha1.ServiceInstance) (result *v1alpha1.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) UpdateReferences ¶ added in v0.0.23
func (c *FakeServiceInstances) UpdateReferences(serviceInstance *v1alpha1.ServiceInstance) (*v1alpha1.ServiceInstance, error)
func (*FakeServiceInstances) UpdateStatus ¶ added in v0.0.17
func (c *FakeServiceInstances) UpdateStatus(serviceInstance *v1alpha1.ServiceInstance) (*v1alpha1.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 ¶ added in v0.0.17
func (c *FakeServiceInstances) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceInstances.
type FakeServicecatalogV1alpha1 ¶
func (*FakeServicecatalogV1alpha1) ClusterServiceBrokers ¶ added in v0.0.24
func (c *FakeServicecatalogV1alpha1) ClusterServiceBrokers() v1alpha1.ClusterServiceBrokerInterface
func (*FakeServicecatalogV1alpha1) ClusterServiceClasses ¶ added in v0.0.24
func (c *FakeServicecatalogV1alpha1) ClusterServiceClasses() v1alpha1.ClusterServiceClassInterface
func (*FakeServicecatalogV1alpha1) ClusterServicePlans ¶ added in v0.0.24
func (c *FakeServicecatalogV1alpha1) ClusterServicePlans() v1alpha1.ClusterServicePlanInterface
func (*FakeServicecatalogV1alpha1) RESTClient ¶
func (c *FakeServicecatalogV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeServicecatalogV1alpha1) ServiceBindings ¶ added in v0.0.24
func (c *FakeServicecatalogV1alpha1) ServiceBindings(namespace string) v1alpha1.ServiceBindingInterface
func (*FakeServicecatalogV1alpha1) ServiceInstances ¶ added in v0.0.17
func (c *FakeServicecatalogV1alpha1) ServiceInstances(namespace string) v1alpha1.ServiceInstanceInterface