Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCurrentPodName ¶
func GetCurrentPodName(ctx context.Context, client kubernetes.Interface, namespace, labelSelector string) (string, error)
GetCurrentPodName returns the name of the current pod using the standard Argo Workflows pattern. It first tries to get the pod name from the ARGO_POD_NAME environment variable (set via Downward API), and falls back to using the Kubernetes client to find the pod by label selector.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.