Documentation
¶
Index ¶
- Variables
- func GetAuthConfig() *rest.Config
- func GetCRDClient() crdClientset.Interface
- func GetDynamicClient() dynamic.Interface
- func GetK8sCA() []byte
- func GetKubeClient() kubernetes.Interface
- func GetRestMapper() (meta.RESTMapper, error)
- func InitKubeEdgeClient(config *cloudcoreConfig.KubeAPIConfig)
- type RestMapperFunc
Constants ¶
This section is empty.
Variables ¶
View Source
var ( KubeConfig *rest.Config CrdConfig *rest.Config )
Functions ¶
func GetAuthConfig ¶ added in v1.12.0
func GetCRDClient ¶
func GetCRDClient() crdClientset.Interface
func GetDynamicClient ¶
func GetKubeClient ¶
func GetKubeClient() kubernetes.Interface
func GetRestMapper ¶ added in v1.13.0
func GetRestMapper() (meta.RESTMapper, error)
func InitKubeEdgeClient ¶
func InitKubeEdgeClient(config *cloudcoreConfig.KubeAPIConfig)
Types ¶
type RestMapperFunc ¶ added in v1.13.0
type RestMapperFunc func() (meta.RESTMapper, error)
var DefaultGetRestMapper RestMapperFunc = GetRestMapper
Click to show internal directories.
Click to hide internal directories.