- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for get_labels (0.06 sec)
-
.github/actions/notify-translations/app/main.py
time.sleep(sleep_time) # Get PR logging.debug(f"Processing PR: #{github_event.pull_request.number}") pr = repo.get_pull(github_event.pull_request.number) label_strs = {label.name for label in pr.get_labels()} langs = [] for label in label_strs: if label.startswith("lang-") and not label == lang_all_label: langs.append(label[5:]) logging.info(f"PR #{pr.number} has labels: {label_strs}")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 12.4K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
injector := getInjector(namespace, hooks) if injector != nil { return injector.ObjectMeta.GetLabels()[label.IoIstioRev.Name] } newRev := namespace.ObjectMeta.GetLabels()[label.IoIstioRev.Name] oldLabel, ok := namespace.ObjectMeta.GetLabels()[analyzer_util.InjectionLabelName] // If there is no istio-injection=disabled and no istio.io/rev, the namespace isn't injected
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Oct 18 11:39:52 UTC 2024 - 10.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/LabelTypeHelper.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:20:39 UTC 2024 - 11.7K 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)