Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCloudAuditLogsSources
- func (c *FakeCloudAuditLogsSources) Create(cloudAuditLogsSource *v1alpha1.CloudAuditLogsSource) (result *v1alpha1.CloudAuditLogsSource, err error)
- func (c *FakeCloudAuditLogsSources) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCloudAuditLogsSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCloudAuditLogsSources) Get(name string, options v1.GetOptions) (result *v1alpha1.CloudAuditLogsSource, err error)
- func (c *FakeCloudAuditLogsSources) List(opts v1.ListOptions) (result *v1alpha1.CloudAuditLogsSourceList, err error)
- func (c *FakeCloudAuditLogsSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CloudAuditLogsSource, err error)
- func (c *FakeCloudAuditLogsSources) Update(cloudAuditLogsSource *v1alpha1.CloudAuditLogsSource) (result *v1alpha1.CloudAuditLogsSource, err error)
- func (c *FakeCloudAuditLogsSources) UpdateStatus(cloudAuditLogsSource *v1alpha1.CloudAuditLogsSource) (*v1alpha1.CloudAuditLogsSource, error)
- func (c *FakeCloudAuditLogsSources) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCloudPubSubSources
- func (c *FakeCloudPubSubSources) Create(cloudPubSubSource *v1alpha1.CloudPubSubSource) (result *v1alpha1.CloudPubSubSource, err error)
- func (c *FakeCloudPubSubSources) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCloudPubSubSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCloudPubSubSources) Get(name string, options v1.GetOptions) (result *v1alpha1.CloudPubSubSource, err error)
- func (c *FakeCloudPubSubSources) List(opts v1.ListOptions) (result *v1alpha1.CloudPubSubSourceList, err error)
- func (c *FakeCloudPubSubSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CloudPubSubSource, err error)
- func (c *FakeCloudPubSubSources) Update(cloudPubSubSource *v1alpha1.CloudPubSubSource) (result *v1alpha1.CloudPubSubSource, err error)
- func (c *FakeCloudPubSubSources) UpdateStatus(cloudPubSubSource *v1alpha1.CloudPubSubSource) (*v1alpha1.CloudPubSubSource, error)
- func (c *FakeCloudPubSubSources) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCloudSchedulerSources
- func (c *FakeCloudSchedulerSources) Create(cloudSchedulerSource *v1alpha1.CloudSchedulerSource) (result *v1alpha1.CloudSchedulerSource, err error)
- func (c *FakeCloudSchedulerSources) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCloudSchedulerSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCloudSchedulerSources) Get(name string, options v1.GetOptions) (result *v1alpha1.CloudSchedulerSource, err error)
- func (c *FakeCloudSchedulerSources) List(opts v1.ListOptions) (result *v1alpha1.CloudSchedulerSourceList, err error)
- func (c *FakeCloudSchedulerSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CloudSchedulerSource, err error)
- func (c *FakeCloudSchedulerSources) Update(cloudSchedulerSource *v1alpha1.CloudSchedulerSource) (result *v1alpha1.CloudSchedulerSource, err error)
- func (c *FakeCloudSchedulerSources) UpdateStatus(cloudSchedulerSource *v1alpha1.CloudSchedulerSource) (*v1alpha1.CloudSchedulerSource, error)
- func (c *FakeCloudSchedulerSources) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCloudStorageSources
- func (c *FakeCloudStorageSources) Create(cloudStorageSource *v1alpha1.CloudStorageSource) (result *v1alpha1.CloudStorageSource, err error)
- func (c *FakeCloudStorageSources) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCloudStorageSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCloudStorageSources) Get(name string, options v1.GetOptions) (result *v1alpha1.CloudStorageSource, err error)
- func (c *FakeCloudStorageSources) List(opts v1.ListOptions) (result *v1alpha1.CloudStorageSourceList, err error)
- func (c *FakeCloudStorageSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CloudStorageSource, err error)
- func (c *FakeCloudStorageSources) Update(cloudStorageSource *v1alpha1.CloudStorageSource) (result *v1alpha1.CloudStorageSource, err error)
- func (c *FakeCloudStorageSources) UpdateStatus(cloudStorageSource *v1alpha1.CloudStorageSource) (*v1alpha1.CloudStorageSource, error)
- func (c *FakeCloudStorageSources) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeEventsV1alpha1
- func (c *FakeEventsV1alpha1) CloudAuditLogsSources(namespace string) v1alpha1.CloudAuditLogsSourceInterface
- func (c *FakeEventsV1alpha1) CloudPubSubSources(namespace string) v1alpha1.CloudPubSubSourceInterface
- func (c *FakeEventsV1alpha1) CloudSchedulerSources(namespace string) v1alpha1.CloudSchedulerSourceInterface
- func (c *FakeEventsV1alpha1) CloudStorageSources(namespace string) v1alpha1.CloudStorageSourceInterface
- func (c *FakeEventsV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCloudAuditLogsSources ¶ added in v0.12.0
type FakeCloudAuditLogsSources struct { Fake *FakeEventsV1alpha1 // contains filtered or unexported fields }
FakeCloudAuditLogsSources implements CloudAuditLogsSourceInterface
func (*FakeCloudAuditLogsSources) Create ¶ added in v0.12.0
func (c *FakeCloudAuditLogsSources) Create(cloudAuditLogsSource *v1alpha1.CloudAuditLogsSource) (result *v1alpha1.CloudAuditLogsSource, err error)
Create takes the representation of a cloudAuditLogsSource and creates it. Returns the server's representation of the cloudAuditLogsSource, and an error, if there is any.
func (*FakeCloudAuditLogsSources) Delete ¶ added in v0.12.0
func (c *FakeCloudAuditLogsSources) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cloudAuditLogsSource and deletes it. Returns an error if one occurs.
func (*FakeCloudAuditLogsSources) DeleteCollection ¶ added in v0.12.0
func (c *FakeCloudAuditLogsSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCloudAuditLogsSources) Get ¶ added in v0.12.0
func (c *FakeCloudAuditLogsSources) Get(name string, options v1.GetOptions) (result *v1alpha1.CloudAuditLogsSource, err error)
Get takes name of the cloudAuditLogsSource, and returns the corresponding cloudAuditLogsSource object, and an error if there is any.
func (*FakeCloudAuditLogsSources) List ¶ added in v0.12.0
func (c *FakeCloudAuditLogsSources) List(opts v1.ListOptions) (result *v1alpha1.CloudAuditLogsSourceList, err error)
List takes label and field selectors, and returns the list of CloudAuditLogsSources that match those selectors.
func (*FakeCloudAuditLogsSources) Patch ¶ added in v0.12.0
func (c *FakeCloudAuditLogsSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CloudAuditLogsSource, err error)
Patch applies the patch and returns the patched cloudAuditLogsSource.
func (*FakeCloudAuditLogsSources) Update ¶ added in v0.12.0
func (c *FakeCloudAuditLogsSources) Update(cloudAuditLogsSource *v1alpha1.CloudAuditLogsSource) (result *v1alpha1.CloudAuditLogsSource, err error)
Update takes the representation of a cloudAuditLogsSource and updates it. Returns the server's representation of the cloudAuditLogsSource, and an error, if there is any.
func (*FakeCloudAuditLogsSources) UpdateStatus ¶ added in v0.12.0
func (c *FakeCloudAuditLogsSources) UpdateStatus(cloudAuditLogsSource *v1alpha1.CloudAuditLogsSource) (*v1alpha1.CloudAuditLogsSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCloudAuditLogsSources) Watch ¶ added in v0.12.0
func (c *FakeCloudAuditLogsSources) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cloudAuditLogsSources.
type FakeCloudPubSubSources ¶ added in v0.12.0
type FakeCloudPubSubSources struct { Fake *FakeEventsV1alpha1 // contains filtered or unexported fields }
FakeCloudPubSubSources implements CloudPubSubSourceInterface
func (*FakeCloudPubSubSources) Create ¶ added in v0.12.0
func (c *FakeCloudPubSubSources) Create(cloudPubSubSource *v1alpha1.CloudPubSubSource) (result *v1alpha1.CloudPubSubSource, err error)
Create takes the representation of a cloudPubSubSource and creates it. Returns the server's representation of the cloudPubSubSource, and an error, if there is any.
func (*FakeCloudPubSubSources) Delete ¶ added in v0.12.0
func (c *FakeCloudPubSubSources) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cloudPubSubSource and deletes it. Returns an error if one occurs.
func (*FakeCloudPubSubSources) DeleteCollection ¶ added in v0.12.0
func (c *FakeCloudPubSubSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCloudPubSubSources) Get ¶ added in v0.12.0
func (c *FakeCloudPubSubSources) Get(name string, options v1.GetOptions) (result *v1alpha1.CloudPubSubSource, err error)
Get takes name of the cloudPubSubSource, and returns the corresponding cloudPubSubSource object, and an error if there is any.
func (*FakeCloudPubSubSources) List ¶ added in v0.12.0
func (c *FakeCloudPubSubSources) List(opts v1.ListOptions) (result *v1alpha1.CloudPubSubSourceList, err error)
List takes label and field selectors, and returns the list of CloudPubSubSources that match those selectors.
func (*FakeCloudPubSubSources) Patch ¶ added in v0.12.0
func (c *FakeCloudPubSubSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CloudPubSubSource, err error)
Patch applies the patch and returns the patched cloudPubSubSource.
func (*FakeCloudPubSubSources) Update ¶ added in v0.12.0
func (c *FakeCloudPubSubSources) Update(cloudPubSubSource *v1alpha1.CloudPubSubSource) (result *v1alpha1.CloudPubSubSource, err error)
Update takes the representation of a cloudPubSubSource and updates it. Returns the server's representation of the cloudPubSubSource, and an error, if there is any.
func (*FakeCloudPubSubSources) UpdateStatus ¶ added in v0.12.0
func (c *FakeCloudPubSubSources) UpdateStatus(cloudPubSubSource *v1alpha1.CloudPubSubSource) (*v1alpha1.CloudPubSubSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCloudPubSubSources) Watch ¶ added in v0.12.0
func (c *FakeCloudPubSubSources) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cloudPubSubSources.
type FakeCloudSchedulerSources ¶ added in v0.12.0
type FakeCloudSchedulerSources struct { Fake *FakeEventsV1alpha1 // contains filtered or unexported fields }
FakeCloudSchedulerSources implements CloudSchedulerSourceInterface
func (*FakeCloudSchedulerSources) Create ¶ added in v0.12.0
func (c *FakeCloudSchedulerSources) Create(cloudSchedulerSource *v1alpha1.CloudSchedulerSource) (result *v1alpha1.CloudSchedulerSource, err error)
Create takes the representation of a cloudSchedulerSource and creates it. Returns the server's representation of the cloudSchedulerSource, and an error, if there is any.
func (*FakeCloudSchedulerSources) Delete ¶ added in v0.12.0
func (c *FakeCloudSchedulerSources) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cloudSchedulerSource and deletes it. Returns an error if one occurs.
func (*FakeCloudSchedulerSources) DeleteCollection ¶ added in v0.12.0
func (c *FakeCloudSchedulerSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCloudSchedulerSources) Get ¶ added in v0.12.0
func (c *FakeCloudSchedulerSources) Get(name string, options v1.GetOptions) (result *v1alpha1.CloudSchedulerSource, err error)
Get takes name of the cloudSchedulerSource, and returns the corresponding cloudSchedulerSource object, and an error if there is any.
func (*FakeCloudSchedulerSources) List ¶ added in v0.12.0
func (c *FakeCloudSchedulerSources) List(opts v1.ListOptions) (result *v1alpha1.CloudSchedulerSourceList, err error)
List takes label and field selectors, and returns the list of CloudSchedulerSources that match those selectors.
func (*FakeCloudSchedulerSources) Patch ¶ added in v0.12.0
func (c *FakeCloudSchedulerSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CloudSchedulerSource, err error)
Patch applies the patch and returns the patched cloudSchedulerSource.
func (*FakeCloudSchedulerSources) Update ¶ added in v0.12.0
func (c *FakeCloudSchedulerSources) Update(cloudSchedulerSource *v1alpha1.CloudSchedulerSource) (result *v1alpha1.CloudSchedulerSource, err error)
Update takes the representation of a cloudSchedulerSource and updates it. Returns the server's representation of the cloudSchedulerSource, and an error, if there is any.
func (*FakeCloudSchedulerSources) UpdateStatus ¶ added in v0.12.0
func (c *FakeCloudSchedulerSources) UpdateStatus(cloudSchedulerSource *v1alpha1.CloudSchedulerSource) (*v1alpha1.CloudSchedulerSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCloudSchedulerSources) Watch ¶ added in v0.12.0
func (c *FakeCloudSchedulerSources) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cloudSchedulerSources.
type FakeCloudStorageSources ¶ added in v0.12.0
type FakeCloudStorageSources struct { Fake *FakeEventsV1alpha1 // contains filtered or unexported fields }
FakeCloudStorageSources implements CloudStorageSourceInterface
func (*FakeCloudStorageSources) Create ¶ added in v0.12.0
func (c *FakeCloudStorageSources) Create(cloudStorageSource *v1alpha1.CloudStorageSource) (result *v1alpha1.CloudStorageSource, err error)
Create takes the representation of a cloudStorageSource and creates it. Returns the server's representation of the cloudStorageSource, and an error, if there is any.
func (*FakeCloudStorageSources) Delete ¶ added in v0.12.0
func (c *FakeCloudStorageSources) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cloudStorageSource and deletes it. Returns an error if one occurs.
func (*FakeCloudStorageSources) DeleteCollection ¶ added in v0.12.0
func (c *FakeCloudStorageSources) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCloudStorageSources) Get ¶ added in v0.12.0
func (c *FakeCloudStorageSources) Get(name string, options v1.GetOptions) (result *v1alpha1.CloudStorageSource, err error)
Get takes name of the cloudStorageSource, and returns the corresponding cloudStorageSource object, and an error if there is any.
func (*FakeCloudStorageSources) List ¶ added in v0.12.0
func (c *FakeCloudStorageSources) List(opts v1.ListOptions) (result *v1alpha1.CloudStorageSourceList, err error)
List takes label and field selectors, and returns the list of CloudStorageSources that match those selectors.
func (*FakeCloudStorageSources) Patch ¶ added in v0.12.0
func (c *FakeCloudStorageSources) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CloudStorageSource, err error)
Patch applies the patch and returns the patched cloudStorageSource.
func (*FakeCloudStorageSources) Update ¶ added in v0.12.0
func (c *FakeCloudStorageSources) Update(cloudStorageSource *v1alpha1.CloudStorageSource) (result *v1alpha1.CloudStorageSource, err error)
Update takes the representation of a cloudStorageSource and updates it. Returns the server's representation of the cloudStorageSource, and an error, if there is any.
func (*FakeCloudStorageSources) UpdateStatus ¶ added in v0.12.0
func (c *FakeCloudStorageSources) UpdateStatus(cloudStorageSource *v1alpha1.CloudStorageSource) (*v1alpha1.CloudStorageSource, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCloudStorageSources) Watch ¶ added in v0.12.0
func (c *FakeCloudStorageSources) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cloudStorageSources.
type FakeEventsV1alpha1 ¶
func (*FakeEventsV1alpha1) CloudAuditLogsSources ¶ added in v0.12.0
func (c *FakeEventsV1alpha1) CloudAuditLogsSources(namespace string) v1alpha1.CloudAuditLogsSourceInterface
func (*FakeEventsV1alpha1) CloudPubSubSources ¶ added in v0.12.0
func (c *FakeEventsV1alpha1) CloudPubSubSources(namespace string) v1alpha1.CloudPubSubSourceInterface
func (*FakeEventsV1alpha1) CloudSchedulerSources ¶ added in v0.12.0
func (c *FakeEventsV1alpha1) CloudSchedulerSources(namespace string) v1alpha1.CloudSchedulerSourceInterface
func (*FakeEventsV1alpha1) CloudStorageSources ¶ added in v0.12.0
func (c *FakeEventsV1alpha1) CloudStorageSources(namespace string) v1alpha1.CloudStorageSourceInterface
func (*FakeEventsV1alpha1) RESTClient ¶
func (c *FakeEventsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.