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 FakeTridentBackends

    type FakeTridentBackends struct {
    	Fake *FakeTridentV1
    	// contains filtered or unexported fields
    }

      FakeTridentBackends implements TridentBackendInterface

      func (*FakeTridentBackends) Create

      func (c *FakeTridentBackends) Create(tridentBackend *netappv1.TridentBackend) (result *netappv1.TridentBackend, err error)

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

        func (*FakeTridentBackends) Delete

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

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

          func (*FakeTridentBackends) DeleteCollection

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

            DeleteCollection deletes a collection of objects.

            func (*FakeTridentBackends) Get

            func (c *FakeTridentBackends) Get(name string, options v1.GetOptions) (result *netappv1.TridentBackend, err error)

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

              func (*FakeTridentBackends) List

              func (c *FakeTridentBackends) List(opts v1.ListOptions) (result *netappv1.TridentBackendList, err error)

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

                func (*FakeTridentBackends) Patch

                func (c *FakeTridentBackends) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *netappv1.TridentBackend, err error)

                  Patch applies the patch and returns the patched tridentBackend.

                  func (*FakeTridentBackends) Update

                  func (c *FakeTridentBackends) Update(tridentBackend *netappv1.TridentBackend) (result *netappv1.TridentBackend, err error)

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

                    func (*FakeTridentBackends) Watch

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

                      type FakeTridentNodes

                      type FakeTridentNodes struct {
                      	Fake *FakeTridentV1
                      	// contains filtered or unexported fields
                      }

                        FakeTridentNodes implements TridentNodeInterface

                        func (*FakeTridentNodes) Create

                        func (c *FakeTridentNodes) Create(tridentNode *netappv1.TridentNode) (result *netappv1.TridentNode, err error)

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

                          func (*FakeTridentNodes) Delete

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

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

                            func (*FakeTridentNodes) DeleteCollection

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

                              DeleteCollection deletes a collection of objects.

                              func (*FakeTridentNodes) Get

                              func (c *FakeTridentNodes) Get(name string, options v1.GetOptions) (result *netappv1.TridentNode, err error)

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

                                func (*FakeTridentNodes) List

                                func (c *FakeTridentNodes) List(opts v1.ListOptions) (result *netappv1.TridentNodeList, err error)

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

                                  func (*FakeTridentNodes) Patch

                                  func (c *FakeTridentNodes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *netappv1.TridentNode, err error)

                                    Patch applies the patch and returns the patched tridentNode.

                                    func (*FakeTridentNodes) Update

                                    func (c *FakeTridentNodes) Update(tridentNode *netappv1.TridentNode) (result *netappv1.TridentNode, err error)

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

                                      func (*FakeTridentNodes) Watch

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

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

                                        type FakeTridentSnapshots

                                        type FakeTridentSnapshots struct {
                                        	Fake *FakeTridentV1
                                        	// contains filtered or unexported fields
                                        }

                                          FakeTridentSnapshots implements TridentSnapshotInterface

                                          func (*FakeTridentSnapshots) Create

                                          func (c *FakeTridentSnapshots) Create(tridentSnapshot *netappv1.TridentSnapshot) (result *netappv1.TridentSnapshot, err error)

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

                                            func (*FakeTridentSnapshots) Delete

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

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

                                              func (*FakeTridentSnapshots) DeleteCollection

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

                                                DeleteCollection deletes a collection of objects.

                                                func (*FakeTridentSnapshots) Get

                                                func (c *FakeTridentSnapshots) Get(name string, options v1.GetOptions) (result *netappv1.TridentSnapshot, err error)

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

                                                  func (*FakeTridentSnapshots) List

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

                                                    func (*FakeTridentSnapshots) Patch

                                                    func (c *FakeTridentSnapshots) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *netappv1.TridentSnapshot, err error)

                                                      Patch applies the patch and returns the patched tridentSnapshot.

                                                      func (*FakeTridentSnapshots) Update

                                                      func (c *FakeTridentSnapshots) Update(tridentSnapshot *netappv1.TridentSnapshot) (result *netappv1.TridentSnapshot, err error)

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

                                                        func (*FakeTridentSnapshots) Watch

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

                                                          type FakeTridentStorageClasses

                                                          type FakeTridentStorageClasses struct {
                                                          	Fake *FakeTridentV1
                                                          	// contains filtered or unexported fields
                                                          }

                                                            FakeTridentStorageClasses implements TridentStorageClassInterface

                                                            func (*FakeTridentStorageClasses) Create

                                                            func (c *FakeTridentStorageClasses) Create(tridentStorageClass *netappv1.TridentStorageClass) (result *netappv1.TridentStorageClass, err error)

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

                                                              func (*FakeTridentStorageClasses) Delete

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

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

                                                                func (*FakeTridentStorageClasses) DeleteCollection

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

                                                                  DeleteCollection deletes a collection of objects.

                                                                  func (*FakeTridentStorageClasses) Get

                                                                  func (c *FakeTridentStorageClasses) Get(name string, options v1.GetOptions) (result *netappv1.TridentStorageClass, err error)

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

                                                                    func (*FakeTridentStorageClasses) List

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

                                                                      func (*FakeTridentStorageClasses) Patch

                                                                      func (c *FakeTridentStorageClasses) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *netappv1.TridentStorageClass, err error)

                                                                        Patch applies the patch and returns the patched tridentStorageClass.

                                                                        func (*FakeTridentStorageClasses) Update

                                                                        func (c *FakeTridentStorageClasses) Update(tridentStorageClass *netappv1.TridentStorageClass) (result *netappv1.TridentStorageClass, err error)

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

                                                                          func (*FakeTridentStorageClasses) Watch

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

                                                                            type FakeTridentTransactions

                                                                            type FakeTridentTransactions struct {
                                                                            	Fake *FakeTridentV1
                                                                            	// contains filtered or unexported fields
                                                                            }

                                                                              FakeTridentTransactions implements TridentTransactionInterface

                                                                              func (*FakeTridentTransactions) Create

                                                                              func (c *FakeTridentTransactions) Create(tridentTransaction *netappv1.TridentTransaction) (result *netappv1.TridentTransaction, err error)

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

                                                                                func (*FakeTridentTransactions) Delete

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

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

                                                                                  func (*FakeTridentTransactions) DeleteCollection

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

                                                                                    DeleteCollection deletes a collection of objects.

                                                                                    func (*FakeTridentTransactions) Get

                                                                                    func (c *FakeTridentTransactions) Get(name string, options v1.GetOptions) (result *netappv1.TridentTransaction, err error)

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

                                                                                      func (*FakeTridentTransactions) List

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

                                                                                        func (*FakeTridentTransactions) Patch

                                                                                        func (c *FakeTridentTransactions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *netappv1.TridentTransaction, err error)

                                                                                          Patch applies the patch and returns the patched tridentTransaction.

                                                                                          func (*FakeTridentTransactions) Update

                                                                                          func (c *FakeTridentTransactions) Update(tridentTransaction *netappv1.TridentTransaction) (result *netappv1.TridentTransaction, err error)

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

                                                                                            func (*FakeTridentTransactions) Watch

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

                                                                                              type FakeTridentV1

                                                                                              type FakeTridentV1 struct {
                                                                                              	*testing.Fake
                                                                                              }

                                                                                              func (*FakeTridentV1) RESTClient

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

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

                                                                                                func (*FakeTridentV1) TridentBackends

                                                                                                func (c *FakeTridentV1) TridentBackends(namespace string) v1.TridentBackendInterface

                                                                                                func (*FakeTridentV1) TridentNodes

                                                                                                func (c *FakeTridentV1) TridentNodes(namespace string) v1.TridentNodeInterface

                                                                                                func (*FakeTridentV1) TridentSnapshots

                                                                                                func (c *FakeTridentV1) TridentSnapshots(namespace string) v1.TridentSnapshotInterface

                                                                                                func (*FakeTridentV1) TridentStorageClasses

                                                                                                func (c *FakeTridentV1) TridentStorageClasses(namespace string) v1.TridentStorageClassInterface

                                                                                                func (*FakeTridentV1) TridentTransactions

                                                                                                func (c *FakeTridentV1) TridentTransactions(namespace string) v1.TridentTransactionInterface

                                                                                                func (*FakeTridentV1) TridentVersions

                                                                                                func (c *FakeTridentV1) TridentVersions(namespace string) v1.TridentVersionInterface

                                                                                                func (*FakeTridentV1) TridentVolumes

                                                                                                func (c *FakeTridentV1) TridentVolumes(namespace string) v1.TridentVolumeInterface

                                                                                                type FakeTridentVersions

                                                                                                type FakeTridentVersions struct {
                                                                                                	Fake *FakeTridentV1
                                                                                                	// contains filtered or unexported fields
                                                                                                }

                                                                                                  FakeTridentVersions implements TridentVersionInterface

                                                                                                  func (*FakeTridentVersions) Create

                                                                                                  func (c *FakeTridentVersions) Create(tridentVersion *netappv1.TridentVersion) (result *netappv1.TridentVersion, err error)

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

                                                                                                    func (*FakeTridentVersions) Delete

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

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

                                                                                                      func (*FakeTridentVersions) DeleteCollection

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

                                                                                                        DeleteCollection deletes a collection of objects.

                                                                                                        func (*FakeTridentVersions) Get

                                                                                                        func (c *FakeTridentVersions) Get(name string, options v1.GetOptions) (result *netappv1.TridentVersion, err error)

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

                                                                                                          func (*FakeTridentVersions) List

                                                                                                          func (c *FakeTridentVersions) List(opts v1.ListOptions) (result *netappv1.TridentVersionList, err error)

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

                                                                                                            func (*FakeTridentVersions) Patch

                                                                                                            func (c *FakeTridentVersions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *netappv1.TridentVersion, err error)

                                                                                                              Patch applies the patch and returns the patched tridentVersion.

                                                                                                              func (*FakeTridentVersions) Update

                                                                                                              func (c *FakeTridentVersions) Update(tridentVersion *netappv1.TridentVersion) (result *netappv1.TridentVersion, err error)

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

                                                                                                                func (*FakeTridentVersions) Watch

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

                                                                                                                  type FakeTridentVolumeTransactions

                                                                                                                  type FakeTridentVolumeTransactions struct {
                                                                                                                  	Fake *FakeTridentV1
                                                                                                                  	// contains filtered or unexported fields
                                                                                                                  }

                                                                                                                    FakeTridentVolumeTransactions implements TridentVolumeTransactionInterface

                                                                                                                    func (*FakeTridentVolumeTransactions) Create

                                                                                                                    func (c *FakeTridentVolumeTransactions) Create(tridentVolumeTransaction *netappv1.TridentTransaction) (result *netappv1.TridentTransaction, err error)

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

                                                                                                                      func (*FakeTridentVolumeTransactions) Delete

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

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

                                                                                                                        func (*FakeTridentVolumeTransactions) DeleteCollection

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

                                                                                                                          DeleteCollection deletes a collection of objects.

                                                                                                                          func (*FakeTridentVolumeTransactions) Get

                                                                                                                          func (c *FakeTridentVolumeTransactions) Get(name string, options v1.GetOptions) (result *netappv1.TridentTransaction, err error)

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

                                                                                                                            func (*FakeTridentVolumeTransactions) List

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

                                                                                                                              func (*FakeTridentVolumeTransactions) Patch

                                                                                                                              func (c *FakeTridentVolumeTransactions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *netappv1.TridentTransaction, err error)

                                                                                                                                Patch applies the patch and returns the patched tridentVolumeTransaction.

                                                                                                                                func (*FakeTridentVolumeTransactions) Update

                                                                                                                                func (c *FakeTridentVolumeTransactions) Update(tridentVolumeTransaction *netappv1.TridentTransaction) (result *netappv1.TridentTransaction, err error)

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

                                                                                                                                  func (*FakeTridentVolumeTransactions) Watch

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

                                                                                                                                    type FakeTridentVolumes

                                                                                                                                    type FakeTridentVolumes struct {
                                                                                                                                    	Fake *FakeTridentV1
                                                                                                                                    	// contains filtered or unexported fields
                                                                                                                                    }

                                                                                                                                      FakeTridentVolumes implements TridentVolumeInterface

                                                                                                                                      func (*FakeTridentVolumes) Create

                                                                                                                                      func (c *FakeTridentVolumes) Create(tridentVolume *netappv1.TridentVolume) (result *netappv1.TridentVolume, err error)

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

                                                                                                                                        func (*FakeTridentVolumes) Delete

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

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

                                                                                                                                          func (*FakeTridentVolumes) DeleteCollection

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

                                                                                                                                            DeleteCollection deletes a collection of objects.

                                                                                                                                            func (*FakeTridentVolumes) Get

                                                                                                                                            func (c *FakeTridentVolumes) Get(name string, options v1.GetOptions) (result *netappv1.TridentVolume, err error)

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

                                                                                                                                              func (*FakeTridentVolumes) List

                                                                                                                                              func (c *FakeTridentVolumes) List(opts v1.ListOptions) (result *netappv1.TridentVolumeList, err error)

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

                                                                                                                                                func (*FakeTridentVolumes) Patch

                                                                                                                                                func (c *FakeTridentVolumes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *netappv1.TridentVolume, err error)

                                                                                                                                                  Patch applies the patch and returns the patched tridentVolume.

                                                                                                                                                  func (*FakeTridentVolumes) Update

                                                                                                                                                  func (c *FakeTridentVolumes) Update(tridentVolume *netappv1.TridentVolume) (result *netappv1.TridentVolume, err error)

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

                                                                                                                                                    func (*FakeTridentVolumes) Watch

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