test_internalclientset

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 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

type Clientset struct {
	*discovery.DiscoveryClient
	*unversionedtestgroup.TestgroupClient
}

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

func New

func New(c *restclient.RESTClient) *Clientset

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) Discovery

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

Discovery retrieves the DiscoveryClient

func (*Clientset) Testgroup

func (c *Clientset) Testgroup() unversionedtestgroup.TestgroupInterface

Testgroup retrieves the TestgroupClient

type Interface

type Interface interface {
	Discovery() discovery.DiscoveryInterface
	Testgroup() unversionedtestgroup.TestgroupInterface
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳