Documentation ¶
Index ¶
- func GetConfigmap(ctx context.Context, name, nemaspace string) (*corev1.ConfigMap, error)
- func GetCurrentPod() (*corev1.Pod, error)
- func GetCurrentPodInfo() (string, error)
- func GetCurrentPodNamespaceAndName() (*types.NamespacedName, error)
- func SetGlobalKubeInterface(k8sClient kubernetes.Interface)
- func UpdateConfigmap(ctx context.Context, cm *corev1.ConfigMap) (*corev1.ConfigMap, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigmap ¶
func GetCurrentPod ¶
func GetCurrentPodInfo ¶
func GetCurrentPodNamespaceAndName ¶
func GetCurrentPodNamespaceAndName() (*types.NamespacedName, error)
func SetGlobalKubeInterface ¶
func SetGlobalKubeInterface(k8sClient kubernetes.Interface)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.