- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for get_labels (0.09 sec)
-
scripts/label_approved.py
g = Github(settings.token.get_secret_value()) repo = g.get_repo(settings.github_repository) for pr in repo.get_pulls(state="open"): logging.info(f"Checking PR: #{pr.number}") pr_labels = list(pr.get_labels()) pr_label_by_name = {label.name: label for label in pr_labels} reviews = list(pr.get_reviews()) review_by_user: dict[str, PullRequestReview] = {} for review in reviews:
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 13:58:30 UTC 2024 - 2.2K bytes - Viewed (0) -
.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/checkinject/checkinject.go
return err } ns, err := kubeClient.Kube().CoreV1().Namespaces().Get(context.TODO(), podNs, metav1.GetOptions{}) if err != nil { return err } podLabels = pod.GetLabels() nsLabels = ns.GetLabels() } else { namespace := ctx.NamespaceOrDefault(ctx.Namespace()) ns, err := kubeClient.Kube().CoreV1().Namespaces().Get(context.TODO(), namespace, metav1.GetOptions{}) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 9.3K bytes - Viewed (0) -
istioctl/pkg/util/ambient/util.go
return t.GetAnnotations()[annotation.AmbientRedirection.Name] == constants.AmbientRedirectionEnabled case *corev1.Namespace: if t.GetLabels()["istio-injection"] == "enabled" { return false } if v, ok := t.GetLabels()[label.IoIstioRev.Name]; ok && v != "" { return false } return t.GetLabels()[label.IoIstioDataplaneMode.Name] == constants.DataplaneModeAmbient } return false
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 1.8K bytes - Viewed (0) -
cni/pkg/util/podutil.go
// to have traffic redirected thru the node proxy. func PodRedirectionEnabled(namespace *corev1.Namespace, pod *corev1.Pod) bool { if !(namespace.GetLabels()[label.IoIstioDataplaneMode.Name] == constants.DataplaneModeAmbient || pod.GetLabels()[label.IoIstioDataplaneMode.Name] == constants.DataplaneModeAmbient) { // Neither namespace nor pod has ambient mode enabled return false } if podHasSidecar(pod) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 4.7K 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) -
istioctl/pkg/tag/revision.go
if err != nil { return nil, fmt.Errorf("error while listing mutating webhooks: %v", err) } for _, hook := range webhooks { rev := renderWithDefault(hook.GetLabels()[label.IoIstioRev.Name], DefaultRevisionName) tagLabel := hook.GetLabels()[label.IoIstioTag.Name] ri, revPresent := revisions[rev] if revPresent { if tagLabel != "" { ri.Webhooks = append(ri.Webhooks, &MutatingWebhookConfigInfo{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 4.5K 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) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/Graph.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.6K bytes - Viewed (0) -
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)