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