Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBackingV1alpha1
- type FakeBindings
- func (c *FakeBindings) Create(binding *v1alpha1.Binding) (result *v1alpha1.Binding, err error)
- func (c *FakeBindings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.Binding, err error)
- func (c *FakeBindings) List(opts v1.ListOptions) (result *v1alpha1.BindingList, err error)
- func (c *FakeBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Binding, err error)
- func (c *FakeBindings) Update(binding *v1alpha1.Binding) (result *v1alpha1.Binding, err error)
- func (c *FakeBindings) UpdateStatus(binding *v1alpha1.Binding) (*v1alpha1.Binding, error)
- func (c *FakeBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBackingV1alpha1 ¶
func (*FakeBackingV1alpha1) Bindings ¶
func (c *FakeBackingV1alpha1) Bindings(namespace string) v1alpha1.BindingInterface
func (*FakeBackingV1alpha1) RESTClient ¶
func (c *FakeBackingV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeBindings ¶
type FakeBindings struct { Fake *FakeBackingV1alpha1 // contains filtered or unexported fields }
FakeBindings implements BindingInterface
func (*FakeBindings) Create ¶
Create takes the representation of a binding and creates it. Returns the server's representation of the binding, and an error, if there is any.
func (*FakeBindings) Delete ¶
func (c *FakeBindings) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the binding and deletes it. Returns an error if one occurs.
func (*FakeBindings) DeleteCollection ¶
func (c *FakeBindings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBindings) Get ¶
func (c *FakeBindings) Get(name string, options v1.GetOptions) (result *v1alpha1.Binding, err error)
Get takes name of the binding, and returns the corresponding binding object, and an error if there is any.
func (*FakeBindings) List ¶
func (c *FakeBindings) List(opts v1.ListOptions) (result *v1alpha1.BindingList, err error)
List takes label and field selectors, and returns the list of Bindings that match those selectors.
func (*FakeBindings) Patch ¶
func (c *FakeBindings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Binding, err error)
Patch applies the patch and returns the patched binding.
func (*FakeBindings) Update ¶
Update takes the representation of a binding and updates it. Returns the server's representation of the binding, and an error, if there is any.
func (*FakeBindings) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBindings) Watch ¶
func (c *FakeBindings) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested bindings.