Documentation ¶
Index ¶
- func GetDiscoverMapper() (discoverymapper.DiscoveryMapper, error)
- func GetDiscoveryClient() (*discovery.DiscoveryClient, error)
- func GetKubeClient() (client.Client, error)
- func GetKubeConfig() (*rest.Config, error)
- func GetPackageDiscover() (*packages.PackageDiscover, error)
- func SetKubeClient(c client.Client)
- func SetKubeConfig(c apiConfig.Config) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDiscoverMapper ¶
func GetDiscoverMapper() (discoverymapper.DiscoveryMapper, error)
GetDiscoverMapper get discover mapper
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.