- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for SizedPodCollection (6.21 sec)
-
pkg/kube/krt/collection_test.go
} return &SimplePod{ Named: NewNamed(i), Labeled: NewLabeled(i.Labels), IP: i.Status.PodIP, } }) } type SizedPod struct { Named Size string } func SizedPodCollection(pods krt.Collection[*corev1.Pod]) krt.Collection[SizedPod] { return krt.NewCollection(pods, func(ctx krt.HandlerContext, i *corev1.Pod) *SizedPod { s, f := i.Labels["size"] if !f { return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 14.6K bytes - Viewed (0)