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 FakeBrokerCells

    type FakeBrokerCells struct {
    	Fake *FakeInternalV1alpha1
    	// contains filtered or unexported fields
    }

      FakeBrokerCells implements BrokerCellInterface

      func (*FakeBrokerCells) Create

      func (c *FakeBrokerCells) Create(ctx context.Context, brokerCell *v1alpha1.BrokerCell, opts v1.CreateOptions) (result *v1alpha1.BrokerCell, err error)

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

        func (*FakeBrokerCells) Delete

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

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

          func (*FakeBrokerCells) DeleteCollection

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

            DeleteCollection deletes a collection of objects.

            func (*FakeBrokerCells) Get

            func (c *FakeBrokerCells) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.BrokerCell, err error)

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

              func (*FakeBrokerCells) List

              func (c *FakeBrokerCells) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BrokerCellList, err error)

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

                func (*FakeBrokerCells) Patch

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

                  Patch applies the patch and returns the patched brokerCell.

                  func (*FakeBrokerCells) Update

                  func (c *FakeBrokerCells) Update(ctx context.Context, brokerCell *v1alpha1.BrokerCell, opts v1.UpdateOptions) (result *v1alpha1.BrokerCell, err error)

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

                    func (*FakeBrokerCells) UpdateStatus

                    func (c *FakeBrokerCells) UpdateStatus(ctx context.Context, brokerCell *v1alpha1.BrokerCell, opts v1.UpdateOptions) (*v1alpha1.BrokerCell, error)

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

                      func (*FakeBrokerCells) Watch

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

                        type FakeInternalV1alpha1

                        type FakeInternalV1alpha1 struct {
                        	*testing.Fake
                        }

                        func (*FakeInternalV1alpha1) BrokerCells

                        func (c *FakeInternalV1alpha1) BrokerCells(namespace string) v1alpha1.BrokerCellInterface

                        func (*FakeInternalV1alpha1) PullSubscriptions

                        func (c *FakeInternalV1alpha1) PullSubscriptions(namespace string) v1alpha1.PullSubscriptionInterface

                        func (*FakeInternalV1alpha1) RESTClient

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

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

                          func (*FakeInternalV1alpha1) Topics

                          func (c *FakeInternalV1alpha1) Topics(namespace string) v1alpha1.TopicInterface

                          type FakePullSubscriptions

                          type FakePullSubscriptions struct {
                          	Fake *FakeInternalV1alpha1
                          	// contains filtered or unexported fields
                          }

                            FakePullSubscriptions implements PullSubscriptionInterface

                            func (*FakePullSubscriptions) Create

                            func (c *FakePullSubscriptions) Create(ctx context.Context, pullSubscription *v1alpha1.PullSubscription, opts v1.CreateOptions) (result *v1alpha1.PullSubscription, err error)

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

                              func (*FakePullSubscriptions) Delete

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

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

                                func (*FakePullSubscriptions) DeleteCollection

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

                                  DeleteCollection deletes a collection of objects.

                                  func (*FakePullSubscriptions) Get

                                  func (c *FakePullSubscriptions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PullSubscription, err error)

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

                                    func (*FakePullSubscriptions) List

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

                                      func (*FakePullSubscriptions) Patch

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

                                        Patch applies the patch and returns the patched pullSubscription.

                                        func (*FakePullSubscriptions) Update

                                        func (c *FakePullSubscriptions) Update(ctx context.Context, pullSubscription *v1alpha1.PullSubscription, opts v1.UpdateOptions) (result *v1alpha1.PullSubscription, err error)

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

                                          func (*FakePullSubscriptions) UpdateStatus

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

                                            func (*FakePullSubscriptions) Watch

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

                                              type FakeTopics

                                              type FakeTopics struct {
                                              	Fake *FakeInternalV1alpha1
                                              	// contains filtered or unexported fields
                                              }

                                                FakeTopics implements TopicInterface

                                                func (*FakeTopics) Create

                                                func (c *FakeTopics) Create(ctx context.Context, topic *v1alpha1.Topic, opts v1.CreateOptions) (result *v1alpha1.Topic, err error)

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

                                                  func (*FakeTopics) Delete

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

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

                                                    func (*FakeTopics) DeleteCollection

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

                                                      DeleteCollection deletes a collection of objects.

                                                      func (*FakeTopics) Get

                                                      func (c *FakeTopics) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Topic, err error)

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

                                                        func (*FakeTopics) List

                                                        func (c *FakeTopics) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TopicList, err error)

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

                                                          func (*FakeTopics) Patch

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

                                                            Patch applies the patch and returns the patched topic.

                                                            func (*FakeTopics) Update

                                                            func (c *FakeTopics) Update(ctx context.Context, topic *v1alpha1.Topic, opts v1.UpdateOptions) (result *v1alpha1.Topic, err error)

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

                                                              func (*FakeTopics) UpdateStatus

                                                              func (c *FakeTopics) UpdateStatus(ctx context.Context, topic *v1alpha1.Topic, opts v1.UpdateOptions) (*v1alpha1.Topic, error)

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

                                                                func (*FakeTopics) Watch

                                                                func (c *FakeTopics) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

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