internalclientset

package
v0.0.0-...-53c5426 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2016 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clientset

Clientset contains the clients for groups. Each group has exactly one version included in a Clientset.

func New

New creates a new Clientset for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new Clientset for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *restclient.Config) *Clientset

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

func (*Clientset) Core

Core retrieves the CoreClient

func (*Clientset) Discovery

func (c *Clientset) Discovery() discovery.DiscoveryInterface

Discovery retrieves the DiscoveryClient

func (*Clientset) Extensions

Extensions retrieves the ExtensionsClient

type Interface

type Interface interface {
	Discovery() discovery.DiscoveryInterface
	Core() unversionedcore.CoreInterface
	Extensions() unversionedextensions.ExtensionsInterface
}

Directories

Path Synopsis
TODO: the fake discovery client should live in pkg/client/discovery/, rather than being copied in every fake clientset.
TODO: the fake discovery client should live in pkg/client/discovery/, rather than being copied in every fake clientset.

Jump to

Keyboard shortcuts

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