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 FakeAppNodes

    type FakeAppNodes struct {
    	Fake *FakeMeshV1
    	// contains filtered or unexported fields
    }

      FakeAppNodes implements AppNodeInterface

      func (*FakeAppNodes) Create

      func (c *FakeAppNodes) Create(appNode *mesh_v1.AppNode) (result *mesh_v1.AppNode, err error)

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

        func (*FakeAppNodes) Delete

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

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

          func (*FakeAppNodes) DeleteCollection

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

            DeleteCollection deletes a collection of objects.

            func (*FakeAppNodes) Get

            func (c *FakeAppNodes) Get(name string, options v1.GetOptions) (result *mesh_v1.AppNode, err error)

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

              func (*FakeAppNodes) List

              func (c *FakeAppNodes) List(opts v1.ListOptions) (result *mesh_v1.AppNodeList, err error)

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

                func (*FakeAppNodes) Patch

                func (c *FakeAppNodes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *mesh_v1.AppNode, err error)

                  Patch applies the patch and returns the patched appNode.

                  func (*FakeAppNodes) Update

                  func (c *FakeAppNodes) Update(appNode *mesh_v1.AppNode) (result *mesh_v1.AppNode, err error)

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

                    func (*FakeAppNodes) UpdateStatus

                    func (c *FakeAppNodes) UpdateStatus(appNode *mesh_v1.AppNode) (*mesh_v1.AppNode, error)

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

                      func (*FakeAppNodes) Watch

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

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

                        type FakeAppSvcs

                        type FakeAppSvcs struct {
                        	Fake *FakeMeshV1
                        	// contains filtered or unexported fields
                        }

                          FakeAppSvcs implements AppSvcInterface

                          func (*FakeAppSvcs) Create

                          func (c *FakeAppSvcs) Create(appSvc *mesh_v1.AppSvc) (result *mesh_v1.AppSvc, err error)

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

                            func (*FakeAppSvcs) Delete

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

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

                              func (*FakeAppSvcs) DeleteCollection

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

                                DeleteCollection deletes a collection of objects.

                                func (*FakeAppSvcs) Get

                                func (c *FakeAppSvcs) Get(name string, options v1.GetOptions) (result *mesh_v1.AppSvc, err error)

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

                                  func (*FakeAppSvcs) List

                                  func (c *FakeAppSvcs) List(opts v1.ListOptions) (result *mesh_v1.AppSvcList, err error)

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

                                    func (*FakeAppSvcs) Patch

                                    func (c *FakeAppSvcs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *mesh_v1.AppSvc, err error)

                                      Patch applies the patch and returns the patched appSvc.

                                      func (*FakeAppSvcs) Update

                                      func (c *FakeAppSvcs) Update(appSvc *mesh_v1.AppSvc) (result *mesh_v1.AppSvc, err error)

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

                                        func (*FakeAppSvcs) UpdateStatus

                                        func (c *FakeAppSvcs) UpdateStatus(appSvc *mesh_v1.AppSvc) (*mesh_v1.AppSvc, error)

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

                                          func (*FakeAppSvcs) Watch

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

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

                                            type FakeMeshV1

                                            type FakeMeshV1 struct {
                                            	*testing.Fake
                                            }

                                            func (*FakeMeshV1) AppNodes

                                            func (c *FakeMeshV1) AppNodes(namespace string) v1.AppNodeInterface

                                            func (*FakeMeshV1) AppSvcs

                                            func (c *FakeMeshV1) AppSvcs(namespace string) v1.AppSvcInterface

                                            func (*FakeMeshV1) RESTClient

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

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