- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 230 for layers (0.15 sec)
-
istioctl/pkg/injector/injector-list_test.go
}) } } func Test_getNamespaces(t *testing.T) { createNamespace := func(name string, labels map[string]string) *corev1.Namespace { return &corev1.Namespace{ ObjectMeta: metav1.ObjectMeta{ Name: name, Labels: labels, }, } } nss := []runtime.Object{ createNamespace("default", nil), createNamespace("kube-system", nil),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 29 04:33:57 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/metrics-v3-cluster-erasure-set.go
setLV := strconv.Itoa(h.SetID) labels := []string{poolIDL, poolLV, setIDL, setLV} m.Set(erasureSetReadQuorum, float64(h.ReadQuorum), labels...) m.Set(erasureSetWriteQuorum, float64(h.WriteQuorum), labels...) m.Set(erasureSetOnlineDrivesCount, float64(h.HealthyDrives), labels...) m.Set(erasureSetHealingDrivesCount, float64(h.HealingDrives), labels...) m.Set(erasureSetHealth, b2f(h.Healthy), labels...) readHealthy := true
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 14 07:25:56 UTC 2024 - 4.4K bytes - Viewed (0) -
cmd/metrics-v3-handler.go
Type string `json:"type"` Labels []string `json:"labels"` } func (md metricDisplay) String() string { return fmt.Sprintf("Name: %s\nType: %s\nHelp: %s\nLabels: {%s}\n", md.Name, md.Type, md.Help, strings.Join(md.Labels, ",")) } func (md metricDisplay) TableRow() string { labels := strings.Join(md.Labels, ",") if labels == "" { labels = "" } else { labels = "`" + labels + "`" }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Wed May 15 16:06:35 UTC 2024 - 7.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/selection_predicate.go
func DefaultClusterScopedAttr(obj runtime.Object) (labels.Set, fields.Set, error) { metadata, err := meta.Accessor(obj) if err != nil { return nil, nil, err } fieldSet := fields.Set{ "metadata.name": metadata.GetName(), } return labels.Set(metadata.GetLabels()), fieldSet, nil } func DefaultNamespaceScopedAttr(obj runtime.Object) (labels.Set, fields.Set, error) { metadata, err := meta.Accessor(obj)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 5.6K bytes - Viewed (0) -
pkg/kube/namespace/filter.go
} func LabelSelectorAsSelector(ps *meshapi.LabelSelector) (labels.Selector, error) { if ps == nil { return labels.Nothing(), nil } if len(ps.MatchLabels)+len(ps.MatchExpressions) == 0 { return labels.Everything(), nil } requirements := make([]labels.Requirement, 0, len(ps.MatchLabels)+len(ps.MatchExpressions)) for k, v := range ps.MatchLabels { r, err := labels.NewRequirement(k, selection.Equals, []string{v})
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jun 10 17:12:52 UTC 2024 - 9.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/util/workloadinstances/index_test.go
Labels: map[string]string{"app": "wle"}, }, Resolution: networking.ServiceEntry_STATIC, }, } func TestIndex(t *testing.T) { // Setup a couple of workload instances for test wi1 := &model.WorkloadInstance{ Name: selector.Name, Namespace: selector.Namespace, Endpoint: &model.IstioEndpoint{ Address: "2.2.2.2", Labels: map[string]string{"app": "wle"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 5K bytes - Viewed (0) -
hack/testdata/multi-resource-rclist-modify.json
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 24 07:02:51 UTC 2024 - 1.7K bytes - Viewed (0) -
pkg/config/analysis/analyzers/util/in_mesh.go
if r.Metadata.Labels[InjectionLabelName] == InjectionLabelEnableValue { return false } if v, ok := r.Metadata.Labels[label.IoIstioRev.Name]; ok && v != "" { return false } return r.Metadata.Labels[constants.DataplaneModeLabel] == constants.DataplaneModeAmbient }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 4.3K bytes - Viewed (0) -
manifests/charts/gateway/templates/_helpers.tpl
{{- end }} {{- end }} {{- end }} {{- define "gateway.selectorLabels" -}} app: {{ (.Values.labels.app | quote) | default (include "gateway.name" .) }} istio: {{ (.Values.labels.istio | quote) | default (include "gateway.name" . | trimPrefix "istio-") }} {{- end }} {{/* Keep sidecar injection labels together https://istio.io/latest/docs/setup/additional-setup/sidecar-injection/#controlling-the-injection-policy */}}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 22:42:29 UTC 2024 - 1.7K bytes - Viewed (0) -
pkg/test/framework/components/namespace/kube.go
return false } // TODO cache labels and invalidate on SetLabel to avoid a ton of kube calls labels, err := n.Labels() if err != nil { scopes.Framework.Warnf("failed getting labels for namespace %s, assuming injection is on", n.name) return true } _, hasRevision := labels[label.IoIstioRev.Name] return hasRevision || labels["istio-injection"] == "enabled" }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 9K bytes - Viewed (0)