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 FakeFlunders

    type FakeFlunders struct {
    	Fake *FakeWardleV1beta1
    	// contains filtered or unexported fields
    }

      FakeFlunders implements FlunderInterface

      func (*FakeFlunders) Create

      func (c *FakeFlunders) Create(flunder *v1beta1.Flunder) (result *v1beta1.Flunder, err error)

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

        func (*FakeFlunders) Delete

        func (c *FakeFlunders) Delete(name string, options *v1.DeleteOptions) error

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

          func (*FakeFlunders) DeleteCollection

          func (c *FakeFlunders) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

            DeleteCollection deletes a collection of objects.

            func (*FakeFlunders) Get

            func (c *FakeFlunders) Get(name string, options v1.GetOptions) (result *v1beta1.Flunder, err error)

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

              func (*FakeFlunders) List

              func (c *FakeFlunders) List(opts v1.ListOptions) (result *v1beta1.FlunderList, err error)

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

                func (*FakeFlunders) Patch

                func (c *FakeFlunders) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.Flunder, err error)

                  Patch applies the patch and returns the patched flunder.

                  func (*FakeFlunders) Update

                  func (c *FakeFlunders) Update(flunder *v1beta1.Flunder) (result *v1beta1.Flunder, err error)

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

                    func (*FakeFlunders) UpdateStatus

                    func (c *FakeFlunders) UpdateStatus(flunder *v1beta1.Flunder) (*v1beta1.Flunder, error)

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

                      func (*FakeFlunders) Watch

                      func (c *FakeFlunders) Watch(opts v1.ListOptions) (watch.Interface, error)

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

                        type FakeWardleV1beta1

                        type FakeWardleV1beta1 struct {
                        	*testing.Fake
                        }

                        func (*FakeWardleV1beta1) Flunders

                        func (c *FakeWardleV1beta1) Flunders(namespace string) v1beta1.FlunderInterface

                        func (*FakeWardleV1beta1) RESTClient

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

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