unversioned

package
v1.2.0-alpha.5....-f5ea4f4 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package unversioned has the automatically generated clients for unversioned resources.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestTypeInterface

type TestTypeInterface interface {
	Create(*testgroup.TestType) (*testgroup.TestType, error)
	Update(*testgroup.TestType) (*testgroup.TestType, error)
	Delete(name string, options *api.DeleteOptions) error
	DeleteCollection(options *api.DeleteOptions, listOptions api.ListOptions) error
	Get(name string) (*testgroup.TestType, error)
	List(opts api.ListOptions) (*testgroup.TestTypeList, error)
	Watch(opts api.ListOptions) (watch.Interface, error)
}

TestTypeInterface has methods to work with TestType resources.

type TestTypeNamespacer

type TestTypeNamespacer interface {
	TestTypes(namespace string) TestTypeInterface
}

TestTypeNamespacer has methods to work with TestType resources in a namespace

type TestgroupClient

type TestgroupClient struct {
	*unversioned.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 *unversioned.Config) (*TestgroupClient, error)

NewForConfig creates a new TestgroupClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *unversioned.Config) *TestgroupClient

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

func (*TestgroupClient) TestTypes

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

type TestgroupInterface

type TestgroupInterface interface {
	TestTypeNamespacer
}

Jump to

Keyboard shortcuts

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