Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeServiceBindings
- func (c *FakeServiceBindings) Create(ctx context.Context, serviceBinding *v1alpha2.ServiceBinding, ...) (result *v1alpha2.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 *v1alpha2.ServiceBinding, err error)
- func (c *FakeServiceBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ServiceBindingList, err error)
- func (c *FakeServiceBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.ServiceBinding, err error)
- func (c *FakeServiceBindings) Update(ctx context.Context, serviceBinding *v1alpha2.ServiceBinding, ...) (result *v1alpha2.ServiceBinding, err error)
- func (c *FakeServiceBindings) UpdateStatus(ctx context.Context, serviceBinding *v1alpha2.ServiceBinding, ...) (*v1alpha2.ServiceBinding, error)
- func (c *FakeServiceBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceV1alpha2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeServiceBindings ¶
type FakeServiceBindings struct { Fake *FakeServiceV1alpha2 // contains filtered or unexported fields }
FakeServiceBindings implements ServiceBindingInterface
func (*FakeServiceBindings) Create ¶
func (c *FakeServiceBindings) Create(ctx context.Context, serviceBinding *v1alpha2.ServiceBinding, opts v1.CreateOptions) (result *v1alpha2.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 *v1alpha2.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 *v1alpha2.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 *v1alpha2.ServiceBinding, err error)
Patch applies the patch and returns the patched serviceBinding.
func (*FakeServiceBindings) Update ¶
func (c *FakeServiceBindings) Update(ctx context.Context, serviceBinding *v1alpha2.ServiceBinding, opts v1.UpdateOptions) (result *v1alpha2.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 *v1alpha2.ServiceBinding, opts v1.UpdateOptions) (*v1alpha2.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 FakeServiceV1alpha2 ¶
func (*FakeServiceV1alpha2) RESTClient ¶
func (c *FakeServiceV1alpha2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeServiceV1alpha2) ServiceBindings ¶
func (c *FakeServiceV1alpha2) ServiceBindings(namespace string) v1alpha2.ServiceBindingInterface