k8s

package
v4.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

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.

func ParseRequest

func ParseRequest(r *http.Request) (verb string, kind string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL