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