package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Mar 25, 2026
License: MIT
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.