- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newPodSelector (0.14 sec)
-
pkg/test/framework/components/echo/kube/util.go
} func (s podSelector) String() string { return s.Label + "=" + s.Value } func (s podSelector) MatchesPod(pod *corev1.Pod) bool { return pod.ObjectMeta.Labels[s.Label] == s.Value } func newPodSelector(cfg echo.Config) podSelector { label := "app" if cfg.DeployAsVM { label = constants.TestVMLabel } return podSelector{ Label: label, Value: cfg.Service, } }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 03:10:51 UTC 2023 - 1.8K bytes - Viewed (0) -
pkg/test/framework/components/echo/kube/pod_controller.go
deleted podHandler } type podController struct { q queue.Instance informer cache.Controller } func newPodController(cfg echo.Config, handlers podHandlers) *podController { s := newPodSelector(cfg) podListWatch := cache.NewFilteredListWatchFromClient(cfg.Cluster.Kube().CoreV1().RESTClient(), "pods", cfg.Namespace.Name(), func(options *metav1.ListOptions) { if len(options.LabelSelector) > 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 09 02:22:47 UTC 2023 - 2.6K bytes - Viewed (0)