unversioned

package
v1.4.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

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 {
	Hello() string
}

type TestTypeInterface

type TestTypeInterface interface {
	Create(*testgroup_k8s_io.TestType) (*testgroup_k8s_io.TestType, error)
	Update(*testgroup_k8s_io.TestType) (*testgroup_k8s_io.TestType, error)
	UpdateStatus(*testgroup_k8s_io.TestType) (*testgroup_k8s_io.TestType, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*testgroup_k8s_io.TestType, error)
	List(opts api.ListOptions) (*testgroup_k8s_io.TestTypeList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
	Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *testgroup_k8s_io.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 {
	*restclient.RESTClient
}

TestgroupClient is used to interact with features provided by the Testgroup group.

func New

New creates a new TestgroupClient for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new TestgroupClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *restclient.Config) *TestgroupClient

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

func (*TestgroupClient) GetRESTClient

func (c *TestgroupClient) GetRESTClient() *restclient.RESTClient

GetRESTClient 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 {
	GetRESTClient() *restclient.RESTClient
	TestTypesGetter
}

Directories

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL