Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 464 for labelSelectors (0.7 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/accessors.go

    	GetMatchPolicy() *v1.MatchPolicyType
    	// GetNamespaceSelector gets the webhook NamespaceSelector field.
    	GetNamespaceSelector() *metav1.LabelSelector
    	// GetObjectSelector gets the webhook ObjectSelector field.
    	GetObjectSelector() *metav1.LabelSelector
    	// GetSideEffects gets the webhook SideEffects field.
    	GetSideEffects() *v1.SideEffectClass
    	// GetTimeoutSeconds gets the webhook TimeoutSeconds field.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  2. pkg/quota/v1/evaluator/core/pods_test.go

    					Affinity: &api.Affinity{
    						PodAffinity: &api.PodAffinity{
    							RequiredDuringSchedulingIgnoredDuringExecution: []api.PodAffinityTerm{
    								{LabelSelector: &metav1.LabelSelector{}, Namespaces: []string{"ns1"}, NamespaceSelector: &metav1.LabelSelector{}},
    							},
    						},
    					},
    				},
    			},
    			wantSelectors: []corev1.ScopedResourceSelectorRequirement{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/workloads_test.go

    			},
    		},
    		{
    			name: "pod with authz",
    			inputs: []any{
    				model.WorkloadAuthorization{
    					LabelSelector: model.NewSelector(map[string]string{"app": "foo"}),
    					Authorization: &security.Authorization{Name: "wrong-ns", Namespace: "not-ns"},
    				},
    				model.WorkloadAuthorization{
    					LabelSelector: model.NewSelector(map[string]string{"app": "foo"}),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  4. pkg/registry/policy/poddisruptionbudget/strategy_test.go

    		ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: metav1.NamespaceDefault},
    		Spec: policy.PodDisruptionBudgetSpec{
    			MinAvailable:               &minAvailable,
    			Selector:                   &metav1.LabelSelector{MatchLabels: validSelector},
    			UnhealthyPodEvictionPolicy: tc.unhealthyPodEvictionPolicy,
    		},
    	}
    
    	Strategy.PrepareForCreate(ctx, pdb)
    	errs := Strategy.Validate(ctx, pdb)
    	if len(errs) != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.ListOptions.yaml

    allowWatchBookmarks: true
    apiVersion: v1
    continue: continueValue
    fieldSelector: fieldSelectorValue
    kind: ListOptions
    labelSelector: labelSelectorValue
    limit: 7
    resourceVersion: resourceVersionValue
    resourceVersionMatch: resourceVersionMatchValue
    sendInitialEvents: true
    timeoutSeconds: 5
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 300 bytes
    - Viewed (0)
  6. pkg/registry/admissionregistration/validatingadmissionpolicybinding/strategy_test.go

    				Name: "foo-selector",
    			},
    			Spec: admissionregistration.ValidatingAdmissionPolicyBindingSpec{
    				PolicyName: "replicalimit-policy.example.com",
    				ParamRef: &admissionregistration.ParamRef{
    					Selector: &metav1.LabelSelector{
    						MatchLabels: map[string]string{
    							"label": "value",
    						},
    					},
    					ParameterNotFoundAction: &denyAction,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. pkg/registry/batch/job/storage/storage_test.go

    	return &batch.Job{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "foo",
    			Namespace: "default",
    		},
    		Spec: batch.JobSpec{
    			Completions: &completions,
    			Parallelism: &parallelism,
    			Selector: &metav1.LabelSelector{
    				MatchLabels: map[string]string{"a": "b"},
    			},
    			ManualSelector: newBool(true),
    			Template: api.PodTemplateSpec{
    				ObjectMeta: metav1.ObjectMeta{
    					Labels: map[string]string{"a": "b"},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  8. pkg/registry/core/pod/strategy.go

    // and merge to LabelSelector with the given operator:
    func applyLabelKeysToLabelSelector(labelSelector *metav1.LabelSelector, labelKeys []string, operator metav1.LabelSelectorOperator, podLabels map[string]string) {
    	for _, key := range labelKeys {
    		if value, ok := podLabels[key]; ok {
    			labelSelector.MatchExpressions = append(labelSelector.MatchExpressions, metav1.LabelSelectorRequirement{
    				Key:      key,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  9. pkg/registry/core/pod/strategy_test.go

    				},
    				Spec: api.PodSpec{
    					Affinity: &api.Affinity{
    						PodAffinity: &api.PodAffinity{
    							RequiredDuringSchedulingIgnoredDuringExecution: []api.PodAffinityTerm{
    								{
    									LabelSelector: &metav1.LabelSelector{
    										MatchLabels: map[string]string{
    											"region": "Asia",
    										},
    									},
    									MatchLabelKeys:    []string{"country"},
    									MismatchLabelKeys: []string{"city"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.ListOptions.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 376 bytes
    - Viewed (0)
Back to top