Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCfV1alpha1
- func (c *FakeCfV1alpha1) ClusterSpaces() v1alpha1.ClusterSpaceInterface
- func (c *FakeCfV1alpha1) RESTClient() rest.Interface
- func (c *FakeCfV1alpha1) ServiceBindings(namespace string) v1alpha1.ServiceBindingInterface
- func (c *FakeCfV1alpha1) ServiceInstances(namespace string) v1alpha1.ServiceInstanceInterface
- func (c *FakeCfV1alpha1) Spaces(namespace string) v1alpha1.SpaceInterface
- type FakeClusterSpaces
- func (c *FakeClusterSpaces) Create(ctx context.Context, clusterSpace *v1alpha1.ClusterSpace, ...) (result *v1alpha1.ClusterSpace, err error)
- func (c *FakeClusterSpaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterSpaces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterSpaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterSpace, err error)
- func (c *FakeClusterSpaces) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterSpaceList, err error)
- func (c *FakeClusterSpaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterSpace, err error)
- func (c *FakeClusterSpaces) Update(ctx context.Context, clusterSpace *v1alpha1.ClusterSpace, ...) (result *v1alpha1.ClusterSpace, err error)
- func (c *FakeClusterSpaces) UpdateStatus(ctx context.Context, clusterSpace *v1alpha1.ClusterSpace, ...) (*v1alpha1.ClusterSpace, error)
- func (c *FakeClusterSpaces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceBindings
- func (c *FakeServiceBindings) Create(ctx context.Context, serviceBinding *v1alpha1.ServiceBinding, ...) (result *v1alpha1.ServiceBinding, err error)
- func (c *FakeServiceBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServiceBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServiceBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServiceBinding, err error)
- func (c *FakeServiceBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceBindingList, err error)
- func (c *FakeServiceBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ServiceBinding, err error)
- func (c *FakeServiceBindings) Update(ctx context.Context, serviceBinding *v1alpha1.ServiceBinding, ...) (result *v1alpha1.ServiceBinding, err error)
- func (c *FakeServiceBindings) UpdateStatus(ctx context.Context, serviceBinding *v1alpha1.ServiceBinding, ...) (*v1alpha1.ServiceBinding, error)
- func (c *FakeServiceBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceInstances
- func (c *FakeServiceInstances) Create(ctx context.Context, serviceInstance *v1alpha1.ServiceInstance, ...) (result *v1alpha1.ServiceInstance, err error)
- func (c *FakeServiceInstances) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServiceInstances) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServiceInstances) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServiceInstance, err error)
- func (c *FakeServiceInstances) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceInstanceList, err error)
- func (c *FakeServiceInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ServiceInstance, err error)
- func (c *FakeServiceInstances) Update(ctx context.Context, serviceInstance *v1alpha1.ServiceInstance, ...) (result *v1alpha1.ServiceInstance, err error)
- func (c *FakeServiceInstances) UpdateStatus(ctx context.Context, serviceInstance *v1alpha1.ServiceInstance, ...) (*v1alpha1.ServiceInstance, error)
- func (c *FakeServiceInstances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSpaces
- func (c *FakeSpaces) Create(ctx context.Context, space *v1alpha1.Space, opts v1.CreateOptions) (result *v1alpha1.Space, err error)
- func (c *FakeSpaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSpaces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSpaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Space, err error)
- func (c *FakeSpaces) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SpaceList, err error)
- func (c *FakeSpaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Space, err error)
- func (c *FakeSpaces) Update(ctx context.Context, space *v1alpha1.Space, opts v1.UpdateOptions) (result *v1alpha1.Space, err error)
- func (c *FakeSpaces) UpdateStatus(ctx context.Context, space *v1alpha1.Space, opts v1.UpdateOptions) (*v1alpha1.Space, error)
- func (c *FakeSpaces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCfV1alpha1 ¶
func (*FakeCfV1alpha1) ClusterSpaces ¶
func (c *FakeCfV1alpha1) ClusterSpaces() v1alpha1.ClusterSpaceInterface
func (*FakeCfV1alpha1) RESTClient ¶
func (c *FakeCfV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCfV1alpha1) ServiceBindings ¶
func (c *FakeCfV1alpha1) ServiceBindings(namespace string) v1alpha1.ServiceBindingInterface
func (*FakeCfV1alpha1) ServiceInstances ¶
func (c *FakeCfV1alpha1) ServiceInstances(namespace string) v1alpha1.ServiceInstanceInterface
func (*FakeCfV1alpha1) Spaces ¶
func (c *FakeCfV1alpha1) Spaces(namespace string) v1alpha1.SpaceInterface
type FakeClusterSpaces ¶
type FakeClusterSpaces struct {
Fake *FakeCfV1alpha1
}
FakeClusterSpaces implements ClusterSpaceInterface
func (*FakeClusterSpaces) Create ¶
func (c *FakeClusterSpaces) Create(ctx context.Context, clusterSpace *v1alpha1.ClusterSpace, opts v1.CreateOptions) (result *v1alpha1.ClusterSpace, err error)
Create takes the representation of a clusterSpace and creates it. Returns the server's representation of the clusterSpace, and an error, if there is any.
func (*FakeClusterSpaces) Delete ¶
func (c *FakeClusterSpaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterSpace and deletes it. Returns an error if one occurs.
func (*FakeClusterSpaces) DeleteCollection ¶
func (c *FakeClusterSpaces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterSpaces) Get ¶
func (c *FakeClusterSpaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterSpace, err error)
Get takes name of the clusterSpace, and returns the corresponding clusterSpace object, and an error if there is any.
func (*FakeClusterSpaces) List ¶
func (c *FakeClusterSpaces) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterSpaceList, err error)
List takes label and field selectors, and returns the list of ClusterSpaces that match those selectors.
func (*FakeClusterSpaces) Patch ¶
func (c *FakeClusterSpaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterSpace, err error)
Patch applies the patch and returns the patched clusterSpace.
func (*FakeClusterSpaces) Update ¶
func (c *FakeClusterSpaces) Update(ctx context.Context, clusterSpace *v1alpha1.ClusterSpace, opts v1.UpdateOptions) (result *v1alpha1.ClusterSpace, err error)
Update takes the representation of a clusterSpace and updates it. Returns the server's representation of the clusterSpace, and an error, if there is any.
func (*FakeClusterSpaces) UpdateStatus ¶
func (c *FakeClusterSpaces) UpdateStatus(ctx context.Context, clusterSpace *v1alpha1.ClusterSpace, opts v1.UpdateOptions) (*v1alpha1.ClusterSpace, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterSpaces) Watch ¶
func (c *FakeClusterSpaces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterSpaces.
type FakeServiceBindings ¶
type FakeServiceBindings struct { Fake *FakeCfV1alpha1 // contains filtered or unexported fields }
FakeServiceBindings implements ServiceBindingInterface
func (*FakeServiceBindings) Create ¶
func (c *FakeServiceBindings) Create(ctx context.Context, serviceBinding *v1alpha1.ServiceBinding, opts v1.CreateOptions) (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 ¶
func (c *FakeServiceBindings) Delete(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceBindings) Get ¶
func (c *FakeServiceBindings) Get(ctx context.Context, 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 ¶
func (c *FakeServiceBindings) List(ctx context.Context, 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 ¶
func (c *FakeServiceBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServiceBinding, err error)
Patch applies the patch and returns the patched serviceBinding.
func (*FakeServiceBindings) Update ¶
func (c *FakeServiceBindings) Update(ctx context.Context, serviceBinding *v1alpha1.ServiceBinding, opts v1.UpdateOptions) (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 ¶
func (c *FakeServiceBindings) UpdateStatus(ctx context.Context, serviceBinding *v1alpha1.ServiceBinding, opts v1.UpdateOptions) (*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 ¶
func (c *FakeServiceBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceBindings.
type FakeServiceInstances ¶
type FakeServiceInstances struct { Fake *FakeCfV1alpha1 // contains filtered or unexported fields }
FakeServiceInstances implements ServiceInstanceInterface
func (*FakeServiceInstances) Create ¶
func (c *FakeServiceInstances) Create(ctx context.Context, serviceInstance *v1alpha1.ServiceInstance, opts v1.CreateOptions) (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 ¶
func (c *FakeServiceInstances) Delete(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceInstances) Get ¶
func (c *FakeServiceInstances) Get(ctx context.Context, 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 ¶
func (c *FakeServiceInstances) List(ctx context.Context, 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 ¶
func (c *FakeServiceInstances) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServiceInstance, err error)
Patch applies the patch and returns the patched serviceInstance.
func (*FakeServiceInstances) Update ¶
func (c *FakeServiceInstances) Update(ctx context.Context, serviceInstance *v1alpha1.ServiceInstance, opts v1.UpdateOptions) (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) UpdateStatus ¶
func (c *FakeServiceInstances) UpdateStatus(ctx context.Context, serviceInstance *v1alpha1.ServiceInstance, opts v1.UpdateOptions) (*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 ¶
func (c *FakeServiceInstances) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceInstances.
type FakeSpaces ¶
type FakeSpaces struct { Fake *FakeCfV1alpha1 // contains filtered or unexported fields }
FakeSpaces implements SpaceInterface
func (*FakeSpaces) Create ¶
func (c *FakeSpaces) Create(ctx context.Context, space *v1alpha1.Space, opts v1.CreateOptions) (result *v1alpha1.Space, err error)
Create takes the representation of a space and creates it. Returns the server's representation of the space, and an error, if there is any.
func (*FakeSpaces) Delete ¶
func (c *FakeSpaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the space and deletes it. Returns an error if one occurs.
func (*FakeSpaces) DeleteCollection ¶
func (c *FakeSpaces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSpaces) Get ¶
func (c *FakeSpaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Space, err error)
Get takes name of the space, and returns the corresponding space object, and an error if there is any.
func (*FakeSpaces) List ¶
func (c *FakeSpaces) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SpaceList, err error)
List takes label and field selectors, and returns the list of Spaces that match those selectors.
func (*FakeSpaces) Patch ¶
func (c *FakeSpaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Space, err error)
Patch applies the patch and returns the patched space.
func (*FakeSpaces) Update ¶
func (c *FakeSpaces) Update(ctx context.Context, space *v1alpha1.Space, opts v1.UpdateOptions) (result *v1alpha1.Space, err error)
Update takes the representation of a space and updates it. Returns the server's representation of the space, and an error, if there is any.
func (*FakeSpaces) UpdateStatus ¶
func (c *FakeSpaces) UpdateStatus(ctx context.Context, space *v1alpha1.Space, opts v1.UpdateOptions) (*v1alpha1.Space, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSpaces) Watch ¶
func (c *FakeSpaces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested spaces.