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 FakePipelineRuns

    type FakePipelineRuns struct {
    	Fake *FakeStewardV1alpha1
    	// contains filtered or unexported fields
    }

      FakePipelineRuns implements PipelineRunInterface

      func (*FakePipelineRuns) Create

      func (c *FakePipelineRuns) Create(pipelineRun *v1alpha1.PipelineRun) (result *v1alpha1.PipelineRun, err error)

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

        func (*FakePipelineRuns) Delete

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

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

          func (*FakePipelineRuns) DeleteCollection

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

            DeleteCollection deletes a collection of objects.

            func (*FakePipelineRuns) Get

            func (c *FakePipelineRuns) Get(name string, options v1.GetOptions) (result *v1alpha1.PipelineRun, err error)

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

              func (*FakePipelineRuns) List

              func (c *FakePipelineRuns) List(opts v1.ListOptions) (result *v1alpha1.PipelineRunList, err error)

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

                func (*FakePipelineRuns) Patch

                func (c *FakePipelineRuns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.PipelineRun, err error)

                  Patch applies the patch and returns the patched pipelineRun.

                  func (*FakePipelineRuns) Update

                  func (c *FakePipelineRuns) Update(pipelineRun *v1alpha1.PipelineRun) (result *v1alpha1.PipelineRun, err error)

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

                    func (*FakePipelineRuns) UpdateStatus

                    func (c *FakePipelineRuns) UpdateStatus(pipelineRun *v1alpha1.PipelineRun) (*v1alpha1.PipelineRun, error)

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

                      func (*FakePipelineRuns) Watch

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

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

                        type FakeStewardV1alpha1

                        type FakeStewardV1alpha1 struct {
                        	*testing.Fake
                        }

                        func (*FakeStewardV1alpha1) PipelineRuns

                        func (c *FakeStewardV1alpha1) PipelineRuns(namespace string) v1alpha1.PipelineRunInterface

                        func (*FakeStewardV1alpha1) RESTClient

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

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

                          func (*FakeStewardV1alpha1) Tenants

                          func (c *FakeStewardV1alpha1) Tenants(namespace string) v1alpha1.TenantInterface

                          type FakeTenants

                          type FakeTenants struct {
                          	Fake *FakeStewardV1alpha1
                          	// contains filtered or unexported fields
                          }

                            FakeTenants implements TenantInterface

                            func (*FakeTenants) Create

                            func (c *FakeTenants) Create(tenant *v1alpha1.Tenant) (result *v1alpha1.Tenant, err error)

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

                              func (*FakeTenants) Delete

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

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

                                func (*FakeTenants) DeleteCollection

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

                                  DeleteCollection deletes a collection of objects.

                                  func (*FakeTenants) Get

                                  func (c *FakeTenants) Get(name string, options v1.GetOptions) (result *v1alpha1.Tenant, err error)

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

                                    func (*FakeTenants) List

                                    func (c *FakeTenants) List(opts v1.ListOptions) (result *v1alpha1.TenantList, err error)

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

                                      func (*FakeTenants) Patch

                                      func (c *FakeTenants) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Tenant, err error)

                                        Patch applies the patch and returns the patched tenant.

                                        func (*FakeTenants) Update

                                        func (c *FakeTenants) Update(tenant *v1alpha1.Tenant) (result *v1alpha1.Tenant, err error)

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

                                          func (*FakeTenants) UpdateStatus

                                          func (c *FakeTenants) UpdateStatus(tenant *v1alpha1.Tenant) (*v1alpha1.Tenant, error)

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

                                            func (*FakeTenants) Watch

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

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