Documentation

Overview

    Package fake has the automatically generated clients.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type FakeCloudAuditLogsSources

    type FakeCloudAuditLogsSources struct {
    	Fake *FakeEventsV1
    	// contains filtered or unexported fields
    }

      FakeCloudAuditLogsSources implements CloudAuditLogsSourceInterface

      func (*FakeCloudAuditLogsSources) Create

      func (c *FakeCloudAuditLogsSources) Create(ctx context.Context, cloudAuditLogsSource *eventsv1.CloudAuditLogsSource, opts v1.CreateOptions) (result *eventsv1.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

          Delete takes name of the cloudAuditLogsSource and deletes it. Returns an error if one occurs.

          func (*FakeCloudAuditLogsSources) DeleteCollection

          func (c *FakeCloudAuditLogsSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

            DeleteCollection deletes a collection of objects.

            func (*FakeCloudAuditLogsSources) Get

              Get takes name of the cloudAuditLogsSource, and returns the corresponding cloudAuditLogsSource object, and an error if there is any.

              func (*FakeCloudAuditLogsSources) List

                List takes label and field selectors, and returns the list of CloudAuditLogsSources that match those selectors.

                func (*FakeCloudAuditLogsSources) Patch

                func (c *FakeCloudAuditLogsSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *eventsv1.CloudAuditLogsSource, err error)

                  Patch applies the patch and returns the patched cloudAuditLogsSource.

                  func (*FakeCloudAuditLogsSources) Update

                  func (c *FakeCloudAuditLogsSources) Update(ctx context.Context, cloudAuditLogsSource *eventsv1.CloudAuditLogsSource, opts v1.UpdateOptions) (result *eventsv1.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

                      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

                        Watch returns a watch.Interface that watches the requested cloudAuditLogsSources.

                        type FakeCloudBuildSources

                        type FakeCloudBuildSources struct {
                        	Fake *FakeEventsV1
                        	// contains filtered or unexported fields
                        }

                          FakeCloudBuildSources implements CloudBuildSourceInterface

                          func (*FakeCloudBuildSources) Create

                          func (c *FakeCloudBuildSources) Create(ctx context.Context, cloudBuildSource *eventsv1.CloudBuildSource, opts v1.CreateOptions) (result *eventsv1.CloudBuildSource, err error)

                            Create takes the representation of a cloudBuildSource and creates it. Returns the server's representation of the cloudBuildSource, and an error, if there is any.

                            func (*FakeCloudBuildSources) Delete

                            func (c *FakeCloudBuildSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

                              Delete takes name of the cloudBuildSource and deletes it. Returns an error if one occurs.

                              func (*FakeCloudBuildSources) DeleteCollection

                              func (c *FakeCloudBuildSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

                                DeleteCollection deletes a collection of objects.

                                func (*FakeCloudBuildSources) Get

                                func (c *FakeCloudBuildSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *eventsv1.CloudBuildSource, err error)

                                  Get takes name of the cloudBuildSource, and returns the corresponding cloudBuildSource object, and an error if there is any.

                                  func (*FakeCloudBuildSources) List

                                    List takes label and field selectors, and returns the list of CloudBuildSources that match those selectors.

                                    func (*FakeCloudBuildSources) Patch

                                    func (c *FakeCloudBuildSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *eventsv1.CloudBuildSource, err error)

                                      Patch applies the patch and returns the patched cloudBuildSource.

                                      func (*FakeCloudBuildSources) Update

                                      func (c *FakeCloudBuildSources) Update(ctx context.Context, cloudBuildSource *eventsv1.CloudBuildSource, opts v1.UpdateOptions) (result *eventsv1.CloudBuildSource, err error)

                                        Update takes the representation of a cloudBuildSource and updates it. Returns the server's representation of the cloudBuildSource, and an error, if there is any.

                                        func (*FakeCloudBuildSources) UpdateStatus

                                          UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

                                          func (*FakeCloudBuildSources) Watch

                                            Watch returns a watch.Interface that watches the requested cloudBuildSources.

                                            type FakeCloudPubSubSources

                                            type FakeCloudPubSubSources struct {
                                            	Fake *FakeEventsV1
                                            	// contains filtered or unexported fields
                                            }

                                              FakeCloudPubSubSources implements CloudPubSubSourceInterface

                                              func (*FakeCloudPubSubSources) Create

                                              func (c *FakeCloudPubSubSources) Create(ctx context.Context, cloudPubSubSource *eventsv1.CloudPubSubSource, opts v1.CreateOptions) (result *eventsv1.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

                                                func (c *FakeCloudPubSubSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

                                                  Delete takes name of the cloudPubSubSource and deletes it. Returns an error if one occurs.

                                                  func (*FakeCloudPubSubSources) DeleteCollection

                                                  func (c *FakeCloudPubSubSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

                                                    DeleteCollection deletes a collection of objects.

                                                    func (*FakeCloudPubSubSources) Get

                                                    func (c *FakeCloudPubSubSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *eventsv1.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

                                                        List takes label and field selectors, and returns the list of CloudPubSubSources that match those selectors.

                                                        func (*FakeCloudPubSubSources) Patch

                                                        func (c *FakeCloudPubSubSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *eventsv1.CloudPubSubSource, err error)

                                                          Patch applies the patch and returns the patched cloudPubSubSource.

                                                          func (*FakeCloudPubSubSources) Update

                                                          func (c *FakeCloudPubSubSources) Update(ctx context.Context, cloudPubSubSource *eventsv1.CloudPubSubSource, opts v1.UpdateOptions) (result *eventsv1.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

                                                              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

                                                                Watch returns a watch.Interface that watches the requested cloudPubSubSources.

                                                                type FakeCloudSchedulerSources

                                                                type FakeCloudSchedulerSources struct {
                                                                	Fake *FakeEventsV1
                                                                	// contains filtered or unexported fields
                                                                }

                                                                  FakeCloudSchedulerSources implements CloudSchedulerSourceInterface

                                                                  func (*FakeCloudSchedulerSources) Create

                                                                  func (c *FakeCloudSchedulerSources) Create(ctx context.Context, cloudSchedulerSource *eventsv1.CloudSchedulerSource, opts v1.CreateOptions) (result *eventsv1.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

                                                                      Delete takes name of the cloudSchedulerSource and deletes it. Returns an error if one occurs.

                                                                      func (*FakeCloudSchedulerSources) DeleteCollection

                                                                      func (c *FakeCloudSchedulerSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

                                                                        DeleteCollection deletes a collection of objects.

                                                                        func (*FakeCloudSchedulerSources) Get

                                                                          Get takes name of the cloudSchedulerSource, and returns the corresponding cloudSchedulerSource object, and an error if there is any.

                                                                          func (*FakeCloudSchedulerSources) List

                                                                            List takes label and field selectors, and returns the list of CloudSchedulerSources that match those selectors.

                                                                            func (*FakeCloudSchedulerSources) Patch

                                                                            func (c *FakeCloudSchedulerSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *eventsv1.CloudSchedulerSource, err error)

                                                                              Patch applies the patch and returns the patched cloudSchedulerSource.

                                                                              func (*FakeCloudSchedulerSources) Update

                                                                              func (c *FakeCloudSchedulerSources) Update(ctx context.Context, cloudSchedulerSource *eventsv1.CloudSchedulerSource, opts v1.UpdateOptions) (result *eventsv1.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

                                                                                  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

                                                                                    Watch returns a watch.Interface that watches the requested cloudSchedulerSources.

                                                                                    type FakeCloudStorageSources

                                                                                    type FakeCloudStorageSources struct {
                                                                                    	Fake *FakeEventsV1
                                                                                    	// contains filtered or unexported fields
                                                                                    }

                                                                                      FakeCloudStorageSources implements CloudStorageSourceInterface

                                                                                      func (*FakeCloudStorageSources) Create

                                                                                      func (c *FakeCloudStorageSources) Create(ctx context.Context, cloudStorageSource *eventsv1.CloudStorageSource, opts v1.CreateOptions) (result *eventsv1.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

                                                                                        func (c *FakeCloudStorageSources) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

                                                                                          Delete takes name of the cloudStorageSource and deletes it. Returns an error if one occurs.

                                                                                          func (*FakeCloudStorageSources) DeleteCollection

                                                                                          func (c *FakeCloudStorageSources) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

                                                                                            DeleteCollection deletes a collection of objects.

                                                                                            func (*FakeCloudStorageSources) Get

                                                                                            func (c *FakeCloudStorageSources) Get(ctx context.Context, name string, options v1.GetOptions) (result *eventsv1.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

                                                                                                List takes label and field selectors, and returns the list of CloudStorageSources that match those selectors.

                                                                                                func (*FakeCloudStorageSources) Patch

                                                                                                func (c *FakeCloudStorageSources) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *eventsv1.CloudStorageSource, err error)

                                                                                                  Patch applies the patch and returns the patched cloudStorageSource.

                                                                                                  func (*FakeCloudStorageSources) Update

                                                                                                  func (c *FakeCloudStorageSources) Update(ctx context.Context, cloudStorageSource *eventsv1.CloudStorageSource, opts v1.UpdateOptions) (result *eventsv1.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

                                                                                                      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

                                                                                                        Watch returns a watch.Interface that watches the requested cloudStorageSources.

                                                                                                        type FakeEventsV1

                                                                                                        type FakeEventsV1 struct {
                                                                                                        	*testing.Fake
                                                                                                        }

                                                                                                        func (*FakeEventsV1) CloudAuditLogsSources

                                                                                                        func (c *FakeEventsV1) CloudAuditLogsSources(namespace string) v1.CloudAuditLogsSourceInterface

                                                                                                        func (*FakeEventsV1) CloudBuildSources

                                                                                                        func (c *FakeEventsV1) CloudBuildSources(namespace string) v1.CloudBuildSourceInterface

                                                                                                        func (*FakeEventsV1) CloudPubSubSources

                                                                                                        func (c *FakeEventsV1) CloudPubSubSources(namespace string) v1.CloudPubSubSourceInterface

                                                                                                        func (*FakeEventsV1) CloudSchedulerSources

                                                                                                        func (c *FakeEventsV1) CloudSchedulerSources(namespace string) v1.CloudSchedulerSourceInterface

                                                                                                        func (*FakeEventsV1) CloudStorageSources

                                                                                                        func (c *FakeEventsV1) CloudStorageSources(namespace string) v1.CloudStorageSourceInterface

                                                                                                        func (*FakeEventsV1) RESTClient

                                                                                                        func (c *FakeEventsV1) RESTClient() rest.Interface

                                                                                                          RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.