- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for getLabel (0.05 sec)
-
istioctl/pkg/describe/describe.go
for i, s := range serviceList.Items { iInfo := &ingressInfo{ service: serviceList.Items[i].DeepCopy(), } for j, p := range ingressPods[ns] { if p.GetLabels() == nil { continue } if maps.Contains(p.GetLabels(), s.Spec.Selector) { iInfo.pods = append(iInfo.pods, ingressPods[ns][j]) } } if len(iInfo.pods) > 0 {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0) -
cni/pkg/repair/repaircontroller.go
// Added for safety, to make sure no healthy pods get labeled. m := podsRepaired.With(typeLabel.Value(labelType)) repairLog.Infof("Pod detected as broken, adding label: %s/%s", pod.Namespace, pod.Name) labels := pod.GetLabels() if _, ok := labels[c.cfg.LabelKey]; ok { m.With(resultLabel.Value(resultSkip)).Increment() repairLog.Infof("Pod %s/%s already has label with key %s, skipping", pod.Namespace, pod.Name, c.cfg.LabelKey) return nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Feb 10 00:31:55 UTC 2024 - 10.4K bytes - Viewed (0) -
istioctl/pkg/tag/generate_test.go
} wh := vwhObject.(*admitv1.ValidatingWebhookConfiguration) if tc.userManaged { // User created webhooks should not have operator labels, otherwise will be pruned. _, ok := wh.GetLabels()[operatorManaged] assert.Equal(t, ok, false) } for _, webhook := range wh.Webhooks { validationWhConf := webhook.ClientConfig
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 12.1K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
// TODO it is sort of pointless/confusing/implicit to populate Old and New with the same reference here func (s *InformerHandlers) enqueueNamespace(o controllers.Object) { namespace := o.GetName() labels := o.GetLabels() matchAmbient := labels[label.IoIstioDataplaneMode.Name] == constants.DataplaneModeAmbient if matchAmbient { log.Infof("Namespace %s is enabled in ambient mesh", namespace) } else {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 11.7K bytes - Viewed (0) -
istioctl/pkg/validate/validate.go
Meta: config.Meta{ GroupVersionKind: schema.GroupVersionKind(), Name: un.GetName(), Namespace: un.GetNamespace(), Domain: domain, Labels: un.GetLabels(), Annotations: un.GetAnnotations(), ResourceVersion: un.GetResourceVersion(), CreationTimestamp: un.GetCreationTimestamp().Time, }, Spec: data, }, nil }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 22:27:47 UTC 2024 - 14.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteStatus(status); } BENCHMARK(BM_InitOp); void BM_Execute(::testing::benchmark::State& state) { const int async = state.range(0); state.SetLabel(async ? "ExecuteAsync" : "Execute"); TF_Status* status = TF_NewStatus(); TFE_ContextOptions* opts = TFE_NewContextOptions(); TFE_ContextOptionsSetAsync(opts, static_cast<unsigned char>(async));
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0)