Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Clientset ¶
type Clientset struct { *unversioned.DiscoveryClient *legacy_unversioned.LegacyClient *extensions_unversioned.ExtensionsClient }
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 ¶
func New(c *unversioned.RESTClient) *Clientset
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) Discovery ¶
func (c *Clientset) Discovery() unversioned.DiscoveryInterface
Discovery retrieves the DiscoveryClient
func (*Clientset) Extensions ¶
func (c *Clientset) Extensions() extensions_unversioned.ExtensionsInterface
Extensions retrieves the ExtensionsClient
func (*Clientset) Legacy ¶
func (c *Clientset) Legacy() legacy_unversioned.LegacyInterface
Legacy retrieves the LegacyClient
type Interface ¶
type Interface interface { Discovery() unversioned.DiscoveryInterface Legacy() legacy_unversioned.LegacyInterface Extensions() extensions_unversioned.ExtensionsInterface }