release_1_2

package
v1.2.0-origin Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2016 License: Apache-2.0 Imports: 4 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 FromUnversionedClient

func FromUnversionedClient(c *unversioned.Client) *Clientset

FromUnversionedClient adapts a pkg/client/unversioned#Client to a Clientset. This function is temporary. We will remove it when everyone has moved to using Clientset. New code should NOT use this function.

func New

New creates a new Clientset for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new Clientset for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *unversioned.Config) *Clientset

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

func (*Clientset) Core

func (c *Clientset) Core() core_v1.CoreInterface

Core retrieves the CoreClient

func (*Clientset) Discovery

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

Discovery retrieves the DiscoveryClient

func (*Clientset) Extensions

Extensions retrieves the ExtensionsClient

type Interface

type Interface interface {
	Discovery() unversioned.DiscoveryInterface
	Core() core_v1.CoreInterface
	Extensions() extensions_v1beta1.ExtensionsInterface
}

Jump to

Keyboard shortcuts

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