client

package
v0.17.3-v1beta Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2020 License: Apache-2.0 Imports: 8 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 interface {
	GetConfig() *rest.Config
	GetClient() (*kubernetes.Clientset, error)
	GetExtClient() (*apiextensionsclient.Clientset, error)
	GetRestClient(*schema.GroupVersion, bool) (*rest.RESTClient, error)
}

Clientset todo

func GetK8sClient

func GetK8sClient() (Clientset, error)

GetK8sClient todo

type ClientsetImpl

type ClientsetImpl struct {
	Clientset
	Config *rest.Config
}

ClientsetImpl todo

func (*ClientsetImpl) GetClient

func (s *ClientsetImpl) GetClient() (*kubernetes.Clientset, error)

GetClient todo

func (*ClientsetImpl) GetConfig

func (s *ClientsetImpl) GetConfig() *rest.Config

GetConfig todo

func (*ClientsetImpl) GetExtClient

func (s *ClientsetImpl) GetExtClient() (*apiextensionsclient.Clientset, error)

GetExtClient todo

func (*ClientsetImpl) GetRestClient

func (s *ClientsetImpl) GetRestClient(groupVersion *schema.GroupVersion, unversion bool) (*rest.RESTClient, error)

GetRestClient todo

Jump to

Keyboard shortcuts

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