Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 590 for labelSelectors (0.57 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/zz_generated.conversion.go

    	// WARNING: Field TypeMeta does not have json tag, skipping.
    
    	if values, ok := map[string][]string(*in)["labelSelector"]; ok && len(values) > 0 {
    		if err := runtime.Convert_Slice_string_To_string(&values, &out.LabelSelector, s); err != nil {
    			return err
    		}
    	} else {
    		out.LabelSelector = ""
    	}
    	if values, ok := map[string][]string(*in)["fieldSelector"]; ok && len(values) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:25 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  2. istioctl/pkg/multixds/gather.go

    	labelSelector := centralOpts.XdsPodLabel
    	if labelSelector == "" {
    		labelSelector = "app=istiod"
    	}
    	pods, err := kubeClient.GetIstioPods(context.TODO(), istioNamespace, metav1.ListOptions{
    		LabelSelector: labelSelector,
    		FieldSelector: kube.RunningStatus,
    	})
    	if err != nil {
    		return nil, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. pkg/api/storage/util_test.go

    			},
    			expected: nil,
    		},
    		{
    			name: "MatchLabels warning",
    			template: &storage.CSIStorageCapacity{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "foo",
    				},
    				NodeTopology: &metav1.LabelSelector{
    					MatchLabels: map[string]string{
    						"beta.kubernetes.io/arch": "amd64",
    						"beta.kubernetes.io/os":   "linux",
    					},
    				},
    			},
    			expected: []string{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 25 11:04:08 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. pkg/config/analysis/analyzers/injection/image-auto.go

    			return true
    		}
    	}
    	return false
    }
    
    func selectorMatches(selector *metav1.LabelSelector, labels klabels.Set) bool {
    	// From webhook spec: "Default to the empty LabelSelector, which matchesWebhooks everything."
    	if selector == nil {
    		return true
    	}
    	s, err := metav1.LabelSelectorAsSelector(selector)
    	if err != nil {
    		return false
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/endpoints/watch_test.go

    			rawQuery:        "resourceVersion=314159&fieldSelector=Host%3D&labelSelector=name%3Dfoo",
    			resourceVersion: "314159",
    			labelSelector:   "name=foo",
    			fieldSelector:   "Host=",
    			namespace:       metav1.NamespaceAll,
    		}, {
    			path:            rootPath,
    			rawQuery:        "fieldSelector=id%3dfoo&resourceVersion=1492",
    			resourceVersion: "1492",
    			labelSelector:   "",
    			fieldSelector:   "id=foo",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 30 17:27:39 UTC 2023
    - 30K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/generic/policy_matcher.go

    }
    
    // GetParsedNamespaceSelector returns the converted LabelSelector which implements labels.Selector
    func (m *matchCriteria) GetParsedNamespaceSelector() (labels.Selector, error) {
    	return metav1.LabelSelectorAsSelector(m.constraints.NamespaceSelector)
    }
    
    // GetParsedObjectSelector returns the converted LabelSelector which implements labels.Selector
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/conversion_test.go

    )
    
    func TestMapToLabelSelectorRoundTrip(t *testing.T) {
    	// We should be able to round-trip a map-only selector through LabelSelector.
    	inputs := []map[string]string{
    		nil,
    		{},
    		{"one": "foo"},
    		{"one": "foo", "two": "bar"},
    	}
    	for _, in := range inputs {
    		ls := &v1.LabelSelector{}
    		if err := v1.Convert_Map_string_To_string_To_v1_LabelSelector(&in, ls, nil); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 02 09:39:03 UTC 2019
    - 3.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.CronJob.yaml

                        values:
                        - valuesValue
                podAffinity:
                  preferredDuringSchedulingIgnoredDuringExecution:
                  - podAffinityTerm:
                      labelSelector:
                        matchExpressions:
                        - key: keyValue
                          operator: operatorValue
                          values:
                          - valuesValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 40.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.29.0/batch.v1.CronJob.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 62.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.29.0/apps.v1.StatefulSet.yaml

                    values:
                    - valuesValue
            podAffinity:
              preferredDuringSchedulingIgnoredDuringExecution:
              - podAffinityTerm:
                  labelSelector:
                    matchExpressions:
                    - key: keyValue
                      operator: operatorValue
                      values:
                      - valuesValue
                    matchLabels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 37.1K bytes
    - Viewed (0)
Back to top