- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 971 for labels0 (0.16 sec)
-
src/internal/types/testdata/check/stmt0.go
} for y := range 1.5 /* ERROR "cannot range over 1.5 (untyped float constant)" */ { _ = "" /* ERROR "mismatched types untyped string and untyped int" */ + 1 } } func labels0() { goto L0 goto L1 L0: L1: L1 /* ERROR "already declared" */ : if true { goto L2 L2: L0 /* ERROR "already declared" */ : } _ = func() { goto L0 goto L1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 19K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/labels.go
} // newPodLabels creates pod labels from v1.Pod. func newPodLabels(pod *v1.Pod) map[string]string { labels := map[string]string{} // Get labels from v1.Pod for k, v := range pod.Labels { labels[k] = v } labels[types.KubernetesPodNameLabel] = pod.Name labels[types.KubernetesPodNamespaceLabel] = pod.Namespace labels[types.KubernetesPodUIDLabel] = string(pod.UID) return labels }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 10.9K bytes - Viewed (0) -
pkg/volume/downwardapi/downwardapi_test.go
verifyMapInFile{stepName{"labels"}, labels2}, }, }, { name: "test_write_with_unix_path", files: map[string]string{ "these/are/my/labels": "metadata.labels", "these/are/your/annotations": "metadata.annotations", }, podLabels: labels1, podAnnotations: annotations, steps: []testStep{ verifyMapInFile{stepName{"these/are/my/labels"}, labels1},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 04:48:49 UTC 2023 - 11.2K bytes - Viewed (0) -
pkg/apis/core/v1/helper/helpers_test.go
}, want: true, }, { name: "label does not match MatchLabelExpressions terms", args: args{ topologySelectorTerms: []v1.TopologySelectorTerm{ { MatchLabelExpressions: []v1.TopologySelectorLabelRequirement{{ Key: "label_1", Values: []string{"label_1_val"}, }}, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 23:03:54 UTC 2024 - 16.9K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
// 3. inject label false // 4. inject label true and revision label // 5. inject label false and revision label // 6. no label // However, we filter out all the disable cases, leaving us with a reasonable number of cases testLabels := []LabelSet{} for _, namespaceLabel := range []klabels.Set{empty, revLabel, legacyLabel, legacyLabelDisabled, legacyAndRevLabel, legacyDisabledAndRevLabel} {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 43.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/noderesources/balanced_allocation_test.go
name: "no resources requested, pods without container scheduled", pods: []*v1.Pod{ st.MakePod().Node("node1").Labels(labels2).Obj(), st.MakePod().Node("node1").Labels(labels1).Obj(), st.MakePod().Node("node2").Labels(labels1).Obj(), st.MakePod().Node("node2").Labels(labels1).Obj(), }, args: config.NodeResourcesBalancedAllocationArgs{Resources: defaultResourceBalancedAllocationSet},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 15.9K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject_test.go
c.pod.Labels, c.ns.Labels) assert.Equal(t, c.expectedMessages, checkResults) }) } } var nsTestObject = func(namespace, injLabelValue, revLabelValue string) *corev1.Namespace { labels := map[string]string{} if injLabelValue != "" { labels["istio-injection"] = injLabelValue } if revLabelValue != "" { labels[label.IoIstioRev.Name] = revLabelValue }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 10.6K bytes - Viewed (0) -
pkg/webhooks/validation/controller/controller.go
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" klabels "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/types" "k8s.io/client-go/util/workqueue" "istio.io/api/label" networking "istio.io/api/networking/v1alpha3" "istio.io/client-go/pkg/apis/networking/v1alpha3" "istio.io/istio/pilot/pkg/keycertbundle" "istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/config/labels" "istio.io/istio/pkg/kube"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 28 16:52:19 UTC 2024 - 11.3K bytes - Viewed (0) -
pkg/kube/inject/webhook_test.go
Labels: map[string]string{"foo": "", "foo2": "bar2"}, }, want: true, }, { config: &Config{ Policy: InjectionPolicyDisabled, }, podSpec: podSpec, meta: metav1.ObjectMeta{ Name: "policy-disabled-label-enabled", Namespace: "test-namespace", Labels: map[string]string{label.SidecarInject.Name: "true"}, },
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 39K bytes - Viewed (1) -
operator/pkg/helmreconciler/prune.go
) { var usList []*unstructured.UnstructuredList labels := make(map[string]string) if revision != "" { labels[label.IoIstioRev.Name] = revision } if componentName != "" { labels[IstioComponentLabelStr] = componentName } if h.iop.GetName() != "" { labels[OwningResourceName] = h.iop.GetName() } if h.iop.GetNamespace() != "" { labels[OwningResourceNamespace] = h.iop.GetNamespace() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 02 08:32:06 UTC 2024 - 15.9K bytes - Viewed (0)