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