Documentation

Overview

    This package has the automatically generated typed clients.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    This section is empty.

    Types

    type TestTypeExpansion

    type TestTypeExpansion interface{}

    type TestTypeInterface

    type TestTypeInterface interface {
    	Create(*testgroup.TestType) (*testgroup.TestType, error)
    	Update(*testgroup.TestType) (*testgroup.TestType, error)
    	UpdateStatus(*testgroup.TestType) (*testgroup.TestType, error)
    	Delete(name string, options *v1.DeleteOptions) error
    	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
    	Get(name string, options v1.GetOptions) (*testgroup.TestType, error)
    	List(opts v1.ListOptions) (*testgroup.TestTypeList, error)
    	Watch(opts v1.ListOptions) (watch.Interface, error)
    	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *testgroup.TestType, err error)
    	TestTypeExpansion
    }

      TestTypeInterface has methods to work with TestType resources.

      type TestTypesGetter

      type TestTypesGetter interface {
      	TestTypes(namespace string) TestTypeInterface
      }

        TestTypesGetter has a method to return a TestTypeInterface. A group's client should implement this interface.

        type TestgroupClient

        type TestgroupClient struct {
        	// contains filtered or unexported fields
        }

          TestgroupClient is used to interact with features provided by the testgroup.k8s.io group.

          func New

            New creates a new TestgroupClient for the given RESTClient.

            func NewForConfig

            func NewForConfig(c *rest.Config) (*TestgroupClient, error)

              NewForConfig creates a new TestgroupClient for the given config.

              func NewForConfigOrDie

              func NewForConfigOrDie(c *rest.Config) *TestgroupClient

                NewForConfigOrDie creates a new TestgroupClient for the given config and panics if there is an error in the config.

                func (*TestgroupClient) RESTClient

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

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

                  func (*TestgroupClient) TestTypes

                  func (c *TestgroupClient) TestTypes(namespace string) TestTypeInterface

                  type TestgroupInterface

                  type TestgroupInterface interface {
                  	RESTClient() rest.Interface
                  	TestTypesGetter
                  }

                  Directories

                  Path Synopsis
                  Package fake has the automatically generated clients.
                  Package fake has the automatically generated clients.