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 *unversionedcore.CoreClient *unversionedextensions.ExtensionsClient }
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) Core ¶
func (c *Clientset) Core() unversionedcore.CoreInterface
Core retrieves the CoreClient
func (*Clientset) Discovery ¶
func (c *Clientset) Discovery() discovery.DiscoveryInterface
Discovery retrieves the DiscoveryClient
func (*Clientset) Extensions ¶
func (c *Clientset) Extensions() unversionedextensions.ExtensionsInterface
Extensions retrieves the ExtensionsClient
type Interface ¶
type Interface interface { Discovery() discovery.DiscoveryInterface Core() unversionedcore.CoreInterface Extensions() unversionedextensions.ExtensionsInterface }
Directories
¶
Path | Synopsis |
---|---|
typed
|
|
core/unversioned
Package unversioned has the automatically generated clients for unversioned resources.
|
Package unversioned has the automatically generated clients for unversioned resources. |
core/unversioned/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
extensions/unversioned
Package unversioned has the automatically generated clients for unversioned resources.
|
Package unversioned has the automatically generated clients for unversioned resources. |
extensions/unversioned/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
Click to show internal directories.
Click to hide internal directories.