Documentation ¶
Overview ¶
github.com/radu-matei/event-operator
Package fake has the automatically generated clients.
Index ¶
- type FakeEventProviders
- func (c *FakeEventProviders) Create(eventProvider *v1alpha1.EventProvider) (result *v1alpha1.EventProvider, err error)
- func (c *FakeEventProviders) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeEventProviders) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeEventProviders) Get(name string, options v1.GetOptions) (result *v1alpha1.EventProvider, err error)
- func (c *FakeEventProviders) List(opts v1.ListOptions) (result *v1alpha1.EventProviderList, err error)
- func (c *FakeEventProviders) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.EventProvider, err error)
- func (c *FakeEventProviders) Update(eventProvider *v1alpha1.EventProvider) (result *v1alpha1.EventProvider, err error)
- func (c *FakeEventProviders) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeEventproviderV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeEventProviders ¶
type FakeEventProviders struct { Fake *FakeEventproviderV1alpha1 // contains filtered or unexported fields }
FakeEventProviders implements EventProviderInterface
func (*FakeEventProviders) Create ¶
func (c *FakeEventProviders) Create(eventProvider *v1alpha1.EventProvider) (result *v1alpha1.EventProvider, err error)
Create takes the representation of a eventProvider and creates it. Returns the server's representation of the eventProvider, and an error, if there is any.
func (*FakeEventProviders) Delete ¶
func (c *FakeEventProviders) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the eventProvider and deletes it. Returns an error if one occurs.
func (*FakeEventProviders) DeleteCollection ¶
func (c *FakeEventProviders) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEventProviders) Get ¶
func (c *FakeEventProviders) Get(name string, options v1.GetOptions) (result *v1alpha1.EventProvider, err error)
Get takes name of the eventProvider, and returns the corresponding eventProvider object, and an error if there is any.
func (*FakeEventProviders) List ¶
func (c *FakeEventProviders) List(opts v1.ListOptions) (result *v1alpha1.EventProviderList, err error)
List takes label and field selectors, and returns the list of EventProviders that match those selectors.
func (*FakeEventProviders) Patch ¶
func (c *FakeEventProviders) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.EventProvider, err error)
Patch applies the patch and returns the patched eventProvider.
func (*FakeEventProviders) Update ¶
func (c *FakeEventProviders) Update(eventProvider *v1alpha1.EventProvider) (result *v1alpha1.EventProvider, err error)
Update takes the representation of a eventProvider and updates it. Returns the server's representation of the eventProvider, and an error, if there is any.
func (*FakeEventProviders) Watch ¶
func (c *FakeEventProviders) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested eventProviders.
type FakeEventproviderV1alpha1 ¶
func (*FakeEventproviderV1alpha1) EventProviders ¶
func (c *FakeEventproviderV1alpha1) EventProviders(namespace string) v1alpha1.EventProviderInterface
func (*FakeEventproviderV1alpha1) RESTClient ¶
func (c *FakeEventproviderV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.