- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,009 for matchLabels (0.2 sec)
-
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/labels.go
return selector } if selector.MatchLabels == nil { selector.MatchLabels = make(map[string]string) } selector.MatchLabels[labelKey] = labelValue return selector } // SelectorHasLabel checks if the given selector contains the given label key in its MatchLabels func SelectorHasLabel(selector *LabelSelector, labelKey string) bool { return len(selector.MatchLabels[labelKey]) > 0
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 07 11:09:05 UTC 2018 - 1.7K bytes - Viewed (0) -
pkg/apis/networking/v1/defaults_test.go
PodSelector: metav1.LabelSelector{ MatchLabels: map[string]string{"a": "b"}, }, Ingress: []networkingv1.NetworkPolicyIngressRule{ { From: []networkingv1.NetworkPolicyPeer{ { PodSelector: &metav1.LabelSelector{ MatchLabels: map[string]string{"c": "d"}, }, NamespaceSelector: &metav1.LabelSelector{ MatchLabels: map[string]string{"c": "d"}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 05 10:48:05 UTC 2023 - 9.8K bytes - Viewed (0) -
istioctl/pkg/checkinject/testdata/check-inject/never-match-injector.yaml
path: /inject port: 443 failurePolicy: Fail matchPolicy: Equivalent name: rev.namespace.sidecar-injector.istio.io namespaceSelector: matchLabels: istio.io/deactivated: never-match objectSelector: matchLabels: istio.io/deactivated: never-match reinvocationPolicy: Never rules: - apiGroups: - "" apiVersions: - v1
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 3.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/extensions.v1beta1.NetworkPolicy.json
"time": "2004-01-01T01:01:01Z", "fieldsType": "fieldsTypeValue", "fieldsV1": {}, "subresource": "subresourceValue" } ] }, "spec": { "podSelector": { "matchLabels": { "matchLabelsKey": "matchLabelsValue" }, "matchExpressions": [ { "key": "keyValue", "operator": "operatorValue", "values": [ "valuesValue"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 18:19:25 UTC 2023 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/HEAD/networking.k8s.io.v1.NetworkPolicy.yaml
- key: keyValue operator: operatorValue values: - valuesValue matchLabels: matchLabelsKey: matchLabelsValue podSelector: matchExpressions: - key: keyValue operator: operatorValue values: - valuesValue matchLabels: matchLabelsKey: matchLabelsValue ingress: - from: - ipBlock:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 18:19:25 UTC 2023 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/networking.k8s.io.v1.NetworkPolicy.json
"time": "2004-01-01T01:01:01Z", "fieldsType": "fieldsTypeValue", "fieldsV1": {}, "subresource": "subresourceValue" } ] }, "spec": { "podSelector": { "matchLabels": { "matchLabelsKey": "matchLabelsValue" }, "matchExpressions": [ { "key": "keyValue", "operator": "operatorValue", "values": [ "valuesValue"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 3.8K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.30.0/extensions.v1beta1.NetworkPolicy.json
"time": "2004-01-01T01:01:01Z", "fieldsType": "fieldsTypeValue", "fieldsV1": {}, "subresource": "subresourceValue" } ] }, "spec": { "podSelector": { "matchLabels": { "matchLabelsKey": "matchLabelsValue" }, "matchExpressions": [ { "key": "keyValue", "operator": "operatorValue", "values": [ "valuesValue"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:52:25 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/util/labels/labels.go
// TODO(madhusudancs): Check if you can use deepCopy_extensions_LabelSelector here. newSelector.MatchLabels = make(map[string]string) if selector.MatchLabels != nil { for key, val := range selector.MatchLabels { newSelector.MatchLabels[key] = val } } newSelector.MatchLabels[labelKey] = labelValue if selector.MatchExpressions != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 11 17:34:12 UTC 2017 - 3.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/helpers_test.go
{in: &LabelSelector{}, out: labels.Everything()}, { in: &LabelSelector{MatchLabels: matchLabels}, out: mustParse("foo=bar"), }, { in: &LabelSelector{MatchExpressions: matchExpressions}, out: mustParse("baz in (norf,qux)"), }, { in: &LabelSelector{MatchLabels: matchLabels, MatchExpressions: matchExpressions}, out: mustParse("baz in (norf,qux),foo=bar"), }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:46:12 UTC 2023 - 7.1K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/v1.29.0/autoscaling.v2beta1.HorizontalPodAutoscaler.json
"name": "nameValue", "apiVersion": "apiVersionValue" }, "metricName": "metricNameValue", "targetValue": "0", "selector": { "matchLabels": { "matchLabelsKey": "matchLabelsValue" }, "matchExpressions": [ { "key": "keyValue", "operator": "operatorValue",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 04:12:07 UTC 2023 - 5.7K bytes - Viewed (0)