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 FakeGravityDsas

    type FakeGravityDsas struct {
    	Fake *FakeGravityV1
    	// contains filtered or unexported fields
    }

      FakeGravityDsas implements GravityDsaInterface

      func (*FakeGravityDsas) Create

      func (c *FakeGravityDsas) Create(gravityDsa *dsav1.GravityDsa) (result *dsav1.GravityDsa, err error)

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

        func (*FakeGravityDsas) Delete

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

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

          func (*FakeGravityDsas) DeleteCollection

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

            DeleteCollection deletes a collection of objects.

            func (*FakeGravityDsas) Get

            func (c *FakeGravityDsas) Get(name string, options v1.GetOptions) (result *dsav1.GravityDsa, err error)

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

              func (*FakeGravityDsas) List

              func (c *FakeGravityDsas) List(opts v1.ListOptions) (result *dsav1.GravityDsaList, err error)

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

                func (*FakeGravityDsas) Patch

                func (c *FakeGravityDsas) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *dsav1.GravityDsa, err error)

                  Patch applies the patch and returns the patched gravityDsa.

                  func (*FakeGravityDsas) Update

                  func (c *FakeGravityDsas) Update(gravityDsa *dsav1.GravityDsa) (result *dsav1.GravityDsa, err error)

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

                    func (*FakeGravityDsas) Watch

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

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

                      type FakeGravityV1

                      type FakeGravityV1 struct {
                      	*testing.Fake
                      }

                      func (*FakeGravityV1) GravityDsas

                      func (c *FakeGravityV1) GravityDsas(namespace string) v1.GravityDsaInterface

                      func (*FakeGravityV1) RESTClient

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

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