Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 571 for labelSelectors (0.28 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/core/v1/clustertrustbundleprojection.go

    	Name          *string                             `json:"name,omitempty"`
    	SignerName    *string                             `json:"signerName,omitempty"`
    	LabelSelector *v1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"`
    	Optional      *bool                               `json:"optional,omitempty"`
    	Path          *string                             `json:"path,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:48 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go

    }
    
    func TestLabelSelectorMatchExpression(t *testing.T) {
    	testCases := []struct {
    		name            string
    		labelSelector   *metav1.LabelSelector
    		wantErrorNumber int
    		validateErrs    func(t *testing.T, errs field.ErrorList)
    	}{{
    		name: "Valid LabelSelector",
    		labelSelector: &metav1.LabelSelector{
    			MatchExpressions: []metav1.LabelSelectorRequirement{{
    				Key:      "key",
    				Operator: metav1.LabelSelectorOpIn,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/core/v1/podaffinityterm.go

    )
    
    // PodAffinityTermApplyConfiguration represents an declarative configuration of the PodAffinityTerm type for use
    // with apply.
    type PodAffinityTermApplyConfiguration struct {
    	LabelSelector     *v1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"`
    	Namespaces        []string                            `json:"namespaces,omitempty"`
    	TopologyKey       *string                             `json:"topologyKey,omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 18 11:28:02 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types_test.go

    func TestMarshalJSONWithOmit(t *testing.T) {
    	cases := []struct {
    		input  LabelSelector
    		result string
    	}{
    		{LabelSelector{}, `{}`},
    		{LabelSelector{MatchExpressions: []LabelSelectorRequirement{}}, `{}`},
    		{LabelSelector{MatchExpressions: []LabelSelectorRequirement{{}}}, `{"matchExpressions":[{"key":"","operator":""}]}`},
    	}
    
    	for i, c := range cases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 20 16:49:23 UTC 2021
    - 4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/zz_generated.conversion.go

    }
    
    func autoConvert_internalversion_ListOptions_To_v1_ListOptions(in *ListOptions, out *v1.ListOptions, s conversion.Scope) error {
    	if err := v1.Convert_labels_Selector_To_string(&in.LabelSelector, &out.LabelSelector, s); err != nil {
    		return err
    	}
    	if err := v1.Convert_fields_Selector_To_string(&in.FieldSelector, &out.FieldSelector, s); err != nil {
    		return err
    	}
    	out.Watch = in.Watch
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:25 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. pkg/config/schema/codegen/templates/clients.go.tmpl

    					options.FieldSelector = opts.FieldSelector
    					options.LabelSelector = opts.LabelSelector
    					return l(options)
    				},
    				WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
    					options.FieldSelector = opts.FieldSelector
    					options.LabelSelector = opts.LabelSelector
    					return w(options)
    				},
    			},
    			gvrToObject(g),
    			0,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 13:57:51 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  7. pkg/registry/admissionregistration/validatingwebhookconfiguration/storage/storage_test.go

    					Port:      443,
    				},
    			},
    			FailurePolicy:           &ignore,
    			MatchPolicy:             &exact,
    			TimeoutSeconds:          &thirty,
    			NamespaceSelector:       &metav1.LabelSelector{},
    			ObjectSelector:          &metav1.LabelSelector{},
    			SideEffects:             &none,
    			AdmissionReviewVersions: []string{"v1beta1"},
    		}},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 13 15:10:55 UTC 2023
    - 6K bytes
    - Viewed (0)
  8. pkg/apis/apps/v1beta1/defaults_test.go

    						Type:          appsv1beta1.OnDeleteStatefulSetStrategyType,
    						RollingUpdate: nil,
    					},
    					RevisionHistoryLimit: ptr.To[int32](10),
    					Selector: &metav1.LabelSelector{
    						MatchLabels:      map[string]string{"foo": "bar"},
    						MatchExpressions: []metav1.LabelSelectorRequirement{},
    					},
    				},
    			},
    		},
    		{
    			name: "Alternate update strategy",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  9. pkg/api/pod/warnings.go

    				t.TopologyKey,
    				msg,
    			))
    		}
    
    		// warn if labelSelector is empty which is no-match.
    		if t.LabelSelector == nil {
    			warnings = append(warnings, fmt.Sprintf("%s: a null labelSelector results in matching no pod", fieldPath.Child("spec", "topologySpreadConstraints").Index(i).Child("labelSelector")))
    		}
    	}
    
    	// use of deprecated annotations
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 17:51:48 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. pkg/registry/networking/networkpolicy/strategy_test.go

    		Spec: networking.NetworkPolicySpec{
    			PodSelector: metav1.LabelSelector{
    				MatchLabels: map[string]string{"a": "b"},
    			},
    		},
    	}
    	egress := networking.NetworkPolicyEgressRule{
    		To: []networking.NetworkPolicyPeer{
    			{
    				NamespaceSelector: &metav1.LabelSelector{
    					MatchLabels: map[string]string{"c": "d"},
    				},
    			},
    		},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 18:19:25 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top