Documentation ¶
Index ¶
Constants ¶
View Source
const ( CoreV1GroupVersion = "v1" AppsV1GroupVersion = "apps/v1" AppsV1Beta1GroupVersion = "apps/v1beta1" AppsV1Beta2GroupVersion = "apps/v1beta2" ExtensionsV1Beta1GroupVersion = "extensions/v1beta1" AutoScalingV1GroupVersion = "autoscaling/v1" AutoScalingV2Beta1GroupVersion = "autoscaling/v2beta1" AutoScalingV2Beta2GroupVersion = "autoscaling/v2beta2" StorageV1GroupVersion = "storage.k8s.io/v1" BatchV1GroupVersion = "batch/v1" BatchV1Beta1GroupVersion = "batch/v1beta1" RbacV1GroupVersion = "rbac.authorization.k8s.io/v1" RbacV1Beta1GroupVersion = "rbac.authorization.k8s.io/v1beta1" AdmissionRegistrationV1Beta1GroupVersion = "admissionregistration.k8s.io/v1beta1" ApiExtensionsV1Beta1GroupVersion = "apiextensions.k8s.io/v1beta1" BkbcsGroupName = "bkbcs.tencent.com" MesosV2GroupVersion = "bkbcs.tencent.com/v2" WebhookV1GroupVersion = "bkbcs.tencent.com/v1" KubefedTypesV1Beta1GroupVersion = "types.kubefed.io/v1beta1" KubefedCoreV1Alpha1GroupVersion = "core.kubefed.io/v1alpha1" KubefedCoreV1Beta1GroupVersion = "core.kubefed.io/v1beta1" KubefedMultiClusterDnsV1Alpha1GroupVersion = "multiclusterdns.kubefed.io/v1alpha1" KubefedSchedulingV1Alpha1GroupVersion = "scheduling.kubefed.io/v1alpha1" )
Variables ¶
View Source
var K8sClientList, CrdClientList map[string]rest.Interface
View Source
var WatcherConfigList, BkbcsWatcherConfigList map[string]ResourceObjType
resource list to watch
Functions ¶
func GetRestConfig ¶
GetRestConfig generate rest config
func InitResourceList ¶
InitResourceList init resource list to watch
Types ¶
Click to show internal directories.
Click to hide internal directories.