Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeArgoprojV1alpha1
- type FakeEventBus
- func (c *FakeEventBus) Create(ctx context.Context, eventBus *v1alpha1.EventBus, opts v1.CreateOptions) (result *v1alpha1.EventBus, err error)
- func (c *FakeEventBus) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEventBus) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEventBus) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EventBus, err error)
- func (c *FakeEventBus) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EventBusList, err error)
- func (c *FakeEventBus) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.EventBus, err error)
- func (c *FakeEventBus) Update(ctx context.Context, eventBus *v1alpha1.EventBus, opts v1.UpdateOptions) (result *v1alpha1.EventBus, err error)
- func (c *FakeEventBus) UpdateStatus(ctx context.Context, eventBus *v1alpha1.EventBus, opts v1.UpdateOptions) (*v1alpha1.EventBus, error)
- func (c *FakeEventBus) Watch(ctx context.Context, 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
func (c *FakeEventBus) Create(ctx context.Context, eventBus *v1alpha1.EventBus, opts v1.CreateOptions) (result *v1alpha1.EventBus, err error)
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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEventBus) Get ¶ added in v0.17.0
func (c *FakeEventBus) Get(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EventBus, err error)
Patch applies the patch and returns the patched eventBus.
func (*FakeEventBus) Update ¶ added in v0.17.0
func (c *FakeEventBus) Update(ctx context.Context, eventBus *v1alpha1.EventBus, opts v1.UpdateOptions) (result *v1alpha1.EventBus, err error)
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
func (c *FakeEventBus) UpdateStatus(ctx context.Context, eventBus *v1alpha1.EventBus, opts v1.UpdateOptions) (*v1alpha1.EventBus, error)
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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested eventBus.