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