- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for findContainer (1.46 sec)
-
pkg/kube/inject/app_probe.go
func FindContainerFromPod(name string, pod *corev1.Pod) *corev1.Container { if c := FindContainer(name, pod.Spec.Containers); c != nil { return c } return FindContainer(name, pod.Spec.InitContainers) } // FindContainer returns the pointer to the first container whose name matches. func FindContainer(name string, containers []corev1.Container) *corev1.Container { for i := range containers {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 04 15:06:24 UTC 2023 - 8.4K bytes - Viewed (0)