Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCloudEventsSources
- func (c *FakeCloudEventsSources) Create(ctx context.Context, cloudEventsSource *v1alpha1.CloudEventsSource, ...) (result *v1alpha1.CloudEventsSource, err error)
- func (c *FakeCloudEventsSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCloudEventsSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCloudEventsSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CloudEventsSource, err error)
- func (c *FakeCloudEventsSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CloudEventsSourceList, err error)
- func (c *FakeCloudEventsSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CloudEventsSource, err error)
- func (c *FakeCloudEventsSources) Update(ctx context.Context, cloudEventsSource *v1alpha1.CloudEventsSource, ...) (result *v1alpha1.CloudEventsSource, err error)
- func (c *FakeCloudEventsSources) UpdateStatus(ctx context.Context, cloudEventsSource *v1alpha1.CloudEventsSource, ...) (*v1alpha1.CloudEventsSource, error)
- func (c *FakeCloudEventsSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeHTTPPollerSources
- func (c *FakeHTTPPollerSources) Create(ctx context.Context, hTTPPollerSource *v1alpha1.HTTPPollerSource, ...) (result *v1alpha1.HTTPPollerSource, err error)
- func (c *FakeHTTPPollerSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeHTTPPollerSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeHTTPPollerSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.HTTPPollerSource, err error)
- func (c *FakeHTTPPollerSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.HTTPPollerSourceList, err error)
- func (c *FakeHTTPPollerSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.HTTPPollerSource, err error)
- func (c *FakeHTTPPollerSources) Update(ctx context.Context, hTTPPollerSource *v1alpha1.HTTPPollerSource, ...) (result *v1alpha1.HTTPPollerSource, err error)
- func (c *FakeHTTPPollerSources) UpdateStatus(ctx context.Context, hTTPPollerSource *v1alpha1.HTTPPollerSource, ...) (*v1alpha1.HTTPPollerSource, error)
- func (c *FakeHTTPPollerSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKafkaSources
- func (c *FakeKafkaSources) Create(ctx context.Context, kafkaSource *v1alpha1.KafkaSource, opts v1.CreateOptions) (result *v1alpha1.KafkaSource, err error)
- func (c *FakeKafkaSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKafkaSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKafkaSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KafkaSource, err error)
- func (c *FakeKafkaSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KafkaSourceList, err error)
- func (c *FakeKafkaSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.KafkaSource, err error)
- func (c *FakeKafkaSources) Update(ctx context.Context, kafkaSource *v1alpha1.KafkaSource, opts v1.UpdateOptions) (result *v1alpha1.KafkaSource, err error)
- func (c *FakeKafkaSources) UpdateStatus(ctx context.Context, kafkaSource *v1alpha1.KafkaSource, opts v1.UpdateOptions) (*v1alpha1.KafkaSource, error)
- func (c *FakeKafkaSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOCIMetricsSources
- func (c *FakeOCIMetricsSources) Create(ctx context.Context, oCIMetricsSource *v1alpha1.OCIMetricsSource, ...) (result *v1alpha1.OCIMetricsSource, err error)
- func (c *FakeOCIMetricsSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeOCIMetricsSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeOCIMetricsSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.OCIMetricsSource, err error)
- func (c *FakeOCIMetricsSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OCIMetricsSourceList, err error)
- func (c *FakeOCIMetricsSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.OCIMetricsSource, err error)
- func (c *FakeOCIMetricsSources) Update(ctx context.Context, oCIMetricsSource *v1alpha1.OCIMetricsSource, ...) (result *v1alpha1.OCIMetricsSource, err error)
- func (c *FakeOCIMetricsSources) UpdateStatus(ctx context.Context, oCIMetricsSource *v1alpha1.OCIMetricsSource, ...) (*v1alpha1.OCIMetricsSource, error)
- func (c *FakeOCIMetricsSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSalesforceSources
- func (c *FakeSalesforceSources) Create(ctx context.Context, salesforceSource *v1alpha1.SalesforceSource, ...) (result *v1alpha1.SalesforceSource, err error)
- func (c *FakeSalesforceSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSalesforceSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSalesforceSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SalesforceSource, err error)
- func (c *FakeSalesforceSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SalesforceSourceList, err error)
- func (c *FakeSalesforceSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SalesforceSource, err error)
- func (c *FakeSalesforceSources) Update(ctx context.Context, salesforceSource *v1alpha1.SalesforceSource, ...) (result *v1alpha1.SalesforceSource, err error)
- func (c *FakeSalesforceSources) UpdateStatus(ctx context.Context, salesforceSource *v1alpha1.SalesforceSource, ...) (*v1alpha1.SalesforceSource, error)
- func (c *FakeSalesforceSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSourcesV1alpha1
- func (c *FakeSourcesV1alpha1) CloudEventsSources(namespace string) v1alpha1.CloudEventsSourceInterface
- func (c *FakeSourcesV1alpha1) HTTPPollerSources(namespace string) v1alpha1.HTTPPollerSourceInterface
- func (c *FakeSourcesV1alpha1) KafkaSources(namespace string) v1alpha1.KafkaSourceInterface
- func (c *FakeSourcesV1alpha1) OCIMetricsSources(namespace string) v1alpha1.OCIMetricsSourceInterface
- func (c *FakeSourcesV1alpha1) RESTClient() rest.Interface
- func (c *FakeSourcesV1alpha1) SalesforceSources(namespace string) v1alpha1.SalesforceSourceInterface
- func (c *FakeSourcesV1alpha1) WebhookSources(namespace string) v1alpha1.WebhookSourceInterface
- type FakeWebhookSources
- func (c *FakeWebhookSources) Create(ctx context.Context, webhookSource *v1alpha1.WebhookSource, ...) (result *v1alpha1.WebhookSource, err error)
- func (c *FakeWebhookSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeWebhookSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeWebhookSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.WebhookSource, err error)
- func (c *FakeWebhookSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.WebhookSourceList, err error)
- func (c *FakeWebhookSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.WebhookSource, err error)
- func (c *FakeWebhookSources) Update(ctx context.Context, webhookSource *v1alpha1.WebhookSource, ...) (result *v1alpha1.WebhookSource, err error)
- func (c *FakeWebhookSources) UpdateStatus(ctx context.Context, webhookSource *v1alpha1.WebhookSource, ...) (*v1alpha1.WebhookSource, error)
- func (c *FakeWebhookSources) 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 FakeCloudEventsSources ¶
type FakeCloudEventsSources struct { Fake *FakeSourcesV1alpha1 // contains filtered or unexported fields }
FakeCloudEventsSources implements CloudEventsSourceInterface
func (*FakeCloudEventsSources) Create ¶
func (c *FakeCloudEventsSources) Create(ctx context.Context, cloudEventsSource *v1alpha1.CloudEventsSource, opts v1.CreateOptions) (result *v1alpha1.CloudEventsSource, err error)
Create takes the representation of a cloudEventsSource and creates it. Returns the server's representation of the cloudEventsSource, and an error, if there is any.
func (*FakeCloudEventsSources) Delete ¶
func (c *FakeCloudEventsSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cloudEventsSource and deletes it. Returns an error if one occurs.
func (*FakeCloudEventsSources) DeleteCollection ¶
func (c *FakeCloudEventsSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCloudEventsSources) Get ¶
func (c *FakeCloudEventsSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CloudEventsSource, err error)
Get takes name of the cloudEventsSource, and returns the corresponding cloudEventsSource object, and an error if there is any.
func (*FakeCloudEventsSources) List ¶
func (c *FakeCloudEventsSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CloudEventsSourceList, err error)
List takes label and field selectors, and returns the list of CloudEventsSources that match those selectors.
func (*FakeCloudEventsSources) Patch ¶
func (c *FakeCloudEventsSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CloudEventsSource, err error)
Patch applies the patch and returns the patched cloudEventsSource.
func (*FakeCloudEventsSources) Update ¶
func (c *FakeCloudEventsSources) Update(ctx context.Context, cloudEventsSource *v1alpha1.CloudEventsSource, opts v1.UpdateOptions) (result *v1alpha1.CloudEventsSource, err error)
Update takes the representation of a cloudEventsSource and updates it. Returns the server's representation of the cloudEventsSource, and an error, if there is any.
func (*FakeCloudEventsSources) UpdateStatus ¶
func (c *FakeCloudEventsSources) UpdateStatus(ctx context.Context, cloudEventsSource *v1alpha1.CloudEventsSource, opts v1.UpdateOptions) (*v1alpha1.CloudEventsSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCloudEventsSources) Watch ¶
func (c *FakeCloudEventsSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cloudEventsSources.
type FakeHTTPPollerSources ¶
type FakeHTTPPollerSources struct { Fake *FakeSourcesV1alpha1 // contains filtered or unexported fields }
FakeHTTPPollerSources implements HTTPPollerSourceInterface
func (*FakeHTTPPollerSources) Create ¶
func (c *FakeHTTPPollerSources) Create(ctx context.Context, hTTPPollerSource *v1alpha1.HTTPPollerSource, opts v1.CreateOptions) (result *v1alpha1.HTTPPollerSource, err error)
Create takes the representation of a hTTPPollerSource and creates it. Returns the server's representation of the hTTPPollerSource, and an error, if there is any.
func (*FakeHTTPPollerSources) Delete ¶
func (c *FakeHTTPPollerSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the hTTPPollerSource and deletes it. Returns an error if one occurs.
func (*FakeHTTPPollerSources) DeleteCollection ¶
func (c *FakeHTTPPollerSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeHTTPPollerSources) Get ¶
func (c *FakeHTTPPollerSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.HTTPPollerSource, err error)
Get takes name of the hTTPPollerSource, and returns the corresponding hTTPPollerSource object, and an error if there is any.
func (*FakeHTTPPollerSources) List ¶
func (c *FakeHTTPPollerSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.HTTPPollerSourceList, err error)
List takes label and field selectors, and returns the list of HTTPPollerSources that match those selectors.
func (*FakeHTTPPollerSources) Patch ¶
func (c *FakeHTTPPollerSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.HTTPPollerSource, err error)
Patch applies the patch and returns the patched hTTPPollerSource.
func (*FakeHTTPPollerSources) Update ¶
func (c *FakeHTTPPollerSources) Update(ctx context.Context, hTTPPollerSource *v1alpha1.HTTPPollerSource, opts v1.UpdateOptions) (result *v1alpha1.HTTPPollerSource, err error)
Update takes the representation of a hTTPPollerSource and updates it. Returns the server's representation of the hTTPPollerSource, and an error, if there is any.
func (*FakeHTTPPollerSources) UpdateStatus ¶
func (c *FakeHTTPPollerSources) UpdateStatus(ctx context.Context, hTTPPollerSource *v1alpha1.HTTPPollerSource, opts v1.UpdateOptions) (*v1alpha1.HTTPPollerSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeHTTPPollerSources) Watch ¶
func (c *FakeHTTPPollerSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested hTTPPollerSources.
type FakeKafkaSources ¶
type FakeKafkaSources struct { Fake *FakeSourcesV1alpha1 // contains filtered or unexported fields }
FakeKafkaSources implements KafkaSourceInterface
func (*FakeKafkaSources) Create ¶
func (c *FakeKafkaSources) Create(ctx context.Context, kafkaSource *v1alpha1.KafkaSource, opts v1.CreateOptions) (result *v1alpha1.KafkaSource, err error)
Create takes the representation of a kafkaSource and creates it. Returns the server's representation of the kafkaSource, and an error, if there is any.
func (*FakeKafkaSources) Delete ¶
func (c *FakeKafkaSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kafkaSource and deletes it. Returns an error if one occurs.
func (*FakeKafkaSources) DeleteCollection ¶
func (c *FakeKafkaSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKafkaSources) Get ¶
func (c *FakeKafkaSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KafkaSource, err error)
Get takes name of the kafkaSource, and returns the corresponding kafkaSource object, and an error if there is any.
func (*FakeKafkaSources) List ¶
func (c *FakeKafkaSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KafkaSourceList, err error)
List takes label and field selectors, and returns the list of KafkaSources that match those selectors.
func (*FakeKafkaSources) Patch ¶
func (c *FakeKafkaSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KafkaSource, err error)
Patch applies the patch and returns the patched kafkaSource.
func (*FakeKafkaSources) Update ¶
func (c *FakeKafkaSources) Update(ctx context.Context, kafkaSource *v1alpha1.KafkaSource, opts v1.UpdateOptions) (result *v1alpha1.KafkaSource, err error)
Update takes the representation of a kafkaSource and updates it. Returns the server's representation of the kafkaSource, and an error, if there is any.
func (*FakeKafkaSources) UpdateStatus ¶
func (c *FakeKafkaSources) UpdateStatus(ctx context.Context, kafkaSource *v1alpha1.KafkaSource, opts v1.UpdateOptions) (*v1alpha1.KafkaSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKafkaSources) Watch ¶
func (c *FakeKafkaSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kafkaSources.
type FakeOCIMetricsSources ¶
type FakeOCIMetricsSources struct { Fake *FakeSourcesV1alpha1 // contains filtered or unexported fields }
FakeOCIMetricsSources implements OCIMetricsSourceInterface
func (*FakeOCIMetricsSources) Create ¶
func (c *FakeOCIMetricsSources) Create(ctx context.Context, oCIMetricsSource *v1alpha1.OCIMetricsSource, opts v1.CreateOptions) (result *v1alpha1.OCIMetricsSource, err error)
Create takes the representation of a oCIMetricsSource and creates it. Returns the server's representation of the oCIMetricsSource, and an error, if there is any.
func (*FakeOCIMetricsSources) Delete ¶
func (c *FakeOCIMetricsSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the oCIMetricsSource and deletes it. Returns an error if one occurs.
func (*FakeOCIMetricsSources) DeleteCollection ¶
func (c *FakeOCIMetricsSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeOCIMetricsSources) Get ¶
func (c *FakeOCIMetricsSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.OCIMetricsSource, err error)
Get takes name of the oCIMetricsSource, and returns the corresponding oCIMetricsSource object, and an error if there is any.
func (*FakeOCIMetricsSources) List ¶
func (c *FakeOCIMetricsSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OCIMetricsSourceList, err error)
List takes label and field selectors, and returns the list of OCIMetricsSources that match those selectors.
func (*FakeOCIMetricsSources) Patch ¶
func (c *FakeOCIMetricsSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.OCIMetricsSource, err error)
Patch applies the patch and returns the patched oCIMetricsSource.
func (*FakeOCIMetricsSources) Update ¶
func (c *FakeOCIMetricsSources) Update(ctx context.Context, oCIMetricsSource *v1alpha1.OCIMetricsSource, opts v1.UpdateOptions) (result *v1alpha1.OCIMetricsSource, err error)
Update takes the representation of a oCIMetricsSource and updates it. Returns the server's representation of the oCIMetricsSource, and an error, if there is any.
func (*FakeOCIMetricsSources) UpdateStatus ¶
func (c *FakeOCIMetricsSources) UpdateStatus(ctx context.Context, oCIMetricsSource *v1alpha1.OCIMetricsSource, opts v1.UpdateOptions) (*v1alpha1.OCIMetricsSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeOCIMetricsSources) Watch ¶
func (c *FakeOCIMetricsSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested oCIMetricsSources.
type FakeSalesforceSources ¶ added in v0.1.14
type FakeSalesforceSources struct { Fake *FakeSourcesV1alpha1 // contains filtered or unexported fields }
FakeSalesforceSources implements SalesforceSourceInterface
func (*FakeSalesforceSources) Create ¶ added in v0.1.14
func (c *FakeSalesforceSources) Create(ctx context.Context, salesforceSource *v1alpha1.SalesforceSource, opts v1.CreateOptions) (result *v1alpha1.SalesforceSource, err error)
Create takes the representation of a salesforceSource and creates it. Returns the server's representation of the salesforceSource, and an error, if there is any.
func (*FakeSalesforceSources) Delete ¶ added in v0.1.14
func (c *FakeSalesforceSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the salesforceSource and deletes it. Returns an error if one occurs.
func (*FakeSalesforceSources) DeleteCollection ¶ added in v0.1.14
func (c *FakeSalesforceSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSalesforceSources) Get ¶ added in v0.1.14
func (c *FakeSalesforceSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SalesforceSource, err error)
Get takes name of the salesforceSource, and returns the corresponding salesforceSource object, and an error if there is any.
func (*FakeSalesforceSources) List ¶ added in v0.1.14
func (c *FakeSalesforceSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SalesforceSourceList, err error)
List takes label and field selectors, and returns the list of SalesforceSources that match those selectors.
func (*FakeSalesforceSources) Patch ¶ added in v0.1.14
func (c *FakeSalesforceSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SalesforceSource, err error)
Patch applies the patch and returns the patched salesforceSource.
func (*FakeSalesforceSources) Update ¶ added in v0.1.14
func (c *FakeSalesforceSources) Update(ctx context.Context, salesforceSource *v1alpha1.SalesforceSource, opts v1.UpdateOptions) (result *v1alpha1.SalesforceSource, err error)
Update takes the representation of a salesforceSource and updates it. Returns the server's representation of the salesforceSource, and an error, if there is any.
func (*FakeSalesforceSources) UpdateStatus ¶ added in v0.1.14
func (c *FakeSalesforceSources) UpdateStatus(ctx context.Context, salesforceSource *v1alpha1.SalesforceSource, opts v1.UpdateOptions) (*v1alpha1.SalesforceSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSalesforceSources) Watch ¶ added in v0.1.14
func (c *FakeSalesforceSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested salesforceSources.
type FakeSourcesV1alpha1 ¶
func (*FakeSourcesV1alpha1) CloudEventsSources ¶
func (c *FakeSourcesV1alpha1) CloudEventsSources(namespace string) v1alpha1.CloudEventsSourceInterface
func (*FakeSourcesV1alpha1) HTTPPollerSources ¶
func (c *FakeSourcesV1alpha1) HTTPPollerSources(namespace string) v1alpha1.HTTPPollerSourceInterface
func (*FakeSourcesV1alpha1) KafkaSources ¶
func (c *FakeSourcesV1alpha1) KafkaSources(namespace string) v1alpha1.KafkaSourceInterface
func (*FakeSourcesV1alpha1) OCIMetricsSources ¶
func (c *FakeSourcesV1alpha1) OCIMetricsSources(namespace string) v1alpha1.OCIMetricsSourceInterface
func (*FakeSourcesV1alpha1) RESTClient ¶
func (c *FakeSourcesV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSourcesV1alpha1) SalesforceSources ¶ added in v0.1.14
func (c *FakeSourcesV1alpha1) SalesforceSources(namespace string) v1alpha1.SalesforceSourceInterface
func (*FakeSourcesV1alpha1) WebhookSources ¶
func (c *FakeSourcesV1alpha1) WebhookSources(namespace string) v1alpha1.WebhookSourceInterface
type FakeWebhookSources ¶
type FakeWebhookSources struct { Fake *FakeSourcesV1alpha1 // contains filtered or unexported fields }
FakeWebhookSources implements WebhookSourceInterface
func (*FakeWebhookSources) Create ¶
func (c *FakeWebhookSources) Create(ctx context.Context, webhookSource *v1alpha1.WebhookSource, opts v1.CreateOptions) (result *v1alpha1.WebhookSource, err error)
Create takes the representation of a webhookSource and creates it. Returns the server's representation of the webhookSource, and an error, if there is any.
func (*FakeWebhookSources) Delete ¶
func (c *FakeWebhookSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the webhookSource and deletes it. Returns an error if one occurs.
func (*FakeWebhookSources) DeleteCollection ¶
func (c *FakeWebhookSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWebhookSources) Get ¶
func (c *FakeWebhookSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.WebhookSource, err error)
Get takes name of the webhookSource, and returns the corresponding webhookSource object, and an error if there is any.
func (*FakeWebhookSources) List ¶
func (c *FakeWebhookSources) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.WebhookSourceList, err error)
List takes label and field selectors, and returns the list of WebhookSources that match those selectors.
func (*FakeWebhookSources) Patch ¶
func (c *FakeWebhookSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.WebhookSource, err error)
Patch applies the patch and returns the patched webhookSource.
func (*FakeWebhookSources) Update ¶
func (c *FakeWebhookSources) Update(ctx context.Context, webhookSource *v1alpha1.WebhookSource, opts v1.UpdateOptions) (result *v1alpha1.WebhookSource, err error)
Update takes the representation of a webhookSource and updates it. Returns the server's representation of the webhookSource, and an error, if there is any.
func (*FakeWebhookSources) UpdateStatus ¶
func (c *FakeWebhookSources) UpdateStatus(ctx context.Context, webhookSource *v1alpha1.WebhookSource, opts v1.UpdateOptions) (*v1alpha1.WebhookSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeWebhookSources) Watch ¶
func (c *FakeWebhookSources) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested webhookSources.