Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDiscoveryClient ¶
func GetDiscoveryClient() (*discovery.DiscoveryClient, error)
GetDiscoveryClient return a discovery client
func GetKubeClient ¶
GetKubeClient create and return kube runtime client
func GetKubeConfig ¶
GetKubeConfig create/get kube runtime config
func GetPackageDiscover ¶
func GetPackageDiscover() (*packages.PackageDiscover, error)
GetPackageDiscover get package discover
func SetKubeConfig ¶
SetKubeConfig generate the kube config from the config of apiserver
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.