Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeEventTypes
- func (c *FakeEventTypes) Create(ctx context.Context, eventType *v1alpha1.EventType, opts v1.CreateOptions) (result *v1alpha1.EventType, err error)
- func (c *FakeEventTypes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeEventTypes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeEventTypes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EventType, err error)
- func (c *FakeEventTypes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EventTypeList, err error)
- func (c *FakeEventTypes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.EventType, err error)
- func (c *FakeEventTypes) Update(ctx context.Context, eventType *v1alpha1.EventType, opts v1.UpdateOptions) (result *v1alpha1.EventType, err error)
- func (c *FakeEventTypes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIngestionPolicies
- func (c *FakeIngestionPolicies) Create(ctx context.Context, ingestionPolicy *v1alpha1.IngestionPolicy, ...) (result *v1alpha1.IngestionPolicy, err error)
- func (c *FakeIngestionPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIngestionPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIngestionPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IngestionPolicy, err error)
- func (c *FakeIngestionPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IngestionPolicyList, err error)
- func (c *FakeIngestionPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IngestionPolicy, err error)
- func (c *FakeIngestionPolicies) Update(ctx context.Context, ingestionPolicy *v1alpha1.IngestionPolicy, ...) (result *v1alpha1.IngestionPolicy, err error)
- func (c *FakeIngestionPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKeasV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeEventTypes ¶
type FakeEventTypes struct { Fake *FakeKeasV1alpha1 // contains filtered or unexported fields }
FakeEventTypes implements EventTypeInterface
func (*FakeEventTypes) Create ¶
func (c *FakeEventTypes) Create(ctx context.Context, eventType *v1alpha1.EventType, opts v1.CreateOptions) (result *v1alpha1.EventType, err error)
Create takes the representation of a eventType and creates it. Returns the server's representation of the eventType, and an error, if there is any.
func (*FakeEventTypes) Delete ¶
func (c *FakeEventTypes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the eventType and deletes it. Returns an error if one occurs.
func (*FakeEventTypes) DeleteCollection ¶
func (c *FakeEventTypes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeEventTypes) Get ¶
func (c *FakeEventTypes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.EventType, err error)
Get takes name of the eventType, and returns the corresponding eventType object, and an error if there is any.
func (*FakeEventTypes) List ¶
func (c *FakeEventTypes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.EventTypeList, err error)
List takes label and field selectors, and returns the list of EventTypes that match those selectors.
func (*FakeEventTypes) Patch ¶
func (c *FakeEventTypes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.EventType, err error)
Patch applies the patch and returns the patched eventType.
func (*FakeEventTypes) Update ¶
func (c *FakeEventTypes) Update(ctx context.Context, eventType *v1alpha1.EventType, opts v1.UpdateOptions) (result *v1alpha1.EventType, err error)
Update takes the representation of a eventType and updates it. Returns the server's representation of the eventType, and an error, if there is any.
func (*FakeEventTypes) Watch ¶
func (c *FakeEventTypes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested eventTypes.
type FakeIngestionPolicies ¶
type FakeIngestionPolicies struct { Fake *FakeKeasV1alpha1 // contains filtered or unexported fields }
FakeIngestionPolicies implements IngestionPolicyInterface
func (*FakeIngestionPolicies) Create ¶
func (c *FakeIngestionPolicies) Create(ctx context.Context, ingestionPolicy *v1alpha1.IngestionPolicy, opts v1.CreateOptions) (result *v1alpha1.IngestionPolicy, err error)
Create takes the representation of a ingestionPolicy and creates it. Returns the server's representation of the ingestionPolicy, and an error, if there is any.
func (*FakeIngestionPolicies) Delete ¶
func (c *FakeIngestionPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the ingestionPolicy and deletes it. Returns an error if one occurs.
func (*FakeIngestionPolicies) DeleteCollection ¶
func (c *FakeIngestionPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIngestionPolicies) Get ¶
func (c *FakeIngestionPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IngestionPolicy, err error)
Get takes name of the ingestionPolicy, and returns the corresponding ingestionPolicy object, and an error if there is any.
func (*FakeIngestionPolicies) List ¶
func (c *FakeIngestionPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IngestionPolicyList, err error)
List takes label and field selectors, and returns the list of IngestionPolicies that match those selectors.
func (*FakeIngestionPolicies) Patch ¶
func (c *FakeIngestionPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IngestionPolicy, err error)
Patch applies the patch and returns the patched ingestionPolicy.
func (*FakeIngestionPolicies) Update ¶
func (c *FakeIngestionPolicies) Update(ctx context.Context, ingestionPolicy *v1alpha1.IngestionPolicy, opts v1.UpdateOptions) (result *v1alpha1.IngestionPolicy, err error)
Update takes the representation of a ingestionPolicy and updates it. Returns the server's representation of the ingestionPolicy, and an error, if there is any.
func (*FakeIngestionPolicies) Watch ¶
func (c *FakeIngestionPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ingestionPolicies.
type FakeKeasV1alpha1 ¶
func (*FakeKeasV1alpha1) EventTypes ¶
func (c *FakeKeasV1alpha1) EventTypes(namespace string) v1alpha1.EventTypeInterface
func (*FakeKeasV1alpha1) IngestionPolicies ¶
func (c *FakeKeasV1alpha1) IngestionPolicies(namespace string) v1alpha1.IngestionPolicyInterface
func (*FakeKeasV1alpha1) RESTClient ¶
func (c *FakeKeasV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.