package
Version:
v0.7.2
Opens a new window with list of versions in this module.
Published: May 23, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func GetCurrentNamespace() string
GetCurrentNamespace 获取当前 Pod 所在的命名空间
NewClientset 创建 Kubernetes Clientset
优先使用 InClusterConfig,失败则回退到 kubeconfig
Source Files
¶
Click to show internal directories.
Click to hide internal directories.