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 FakeTestTypes

    type FakeTestTypes struct {
    	Fake *FakeTestgroup
    	// contains filtered or unexported fields
    }

      FakeTestTypes implements TestTypeInterface

      func (*FakeTestTypes) Create

      func (c *FakeTestTypes) Create(testType *testgroup.TestType) (result *testgroup.TestType, err error)

      func (*FakeTestTypes) Delete

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

      func (*FakeTestTypes) DeleteCollection

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

      func (*FakeTestTypes) Get

      func (c *FakeTestTypes) Get(name string, options v1.GetOptions) (result *testgroup.TestType, err error)

      func (*FakeTestTypes) List

      func (c *FakeTestTypes) List(opts v1.ListOptions) (result *testgroup.TestTypeList, err error)

      func (*FakeTestTypes) Patch

      func (c *FakeTestTypes) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *testgroup.TestType, err error)

        Patch applies the patch and returns the patched testType.

        func (*FakeTestTypes) Update

        func (c *FakeTestTypes) Update(testType *testgroup.TestType) (result *testgroup.TestType, err error)

        func (*FakeTestTypes) UpdateStatus

        func (c *FakeTestTypes) UpdateStatus(testType *testgroup.TestType) (*testgroup.TestType, error)

        func (*FakeTestTypes) Watch

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

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

          type FakeTestgroup

          type FakeTestgroup struct {
          	*testing.Fake
          }

          func (*FakeTestgroup) RESTClient

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

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

            func (*FakeTestgroup) TestTypes

            func (c *FakeTestgroup) TestTypes(namespace string) internalversion.TestTypeInterface