Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 180 for MatchFields (0.27 sec)

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

    // with apply.
    type NodeSelectorTermApplyConfiguration struct {
    	MatchExpressions []NodeSelectorRequirementApplyConfiguration `json:"matchExpressions,omitempty"`
    	MatchFields      []NodeSelectorRequirementApplyConfiguration `json:"matchFields,omitempty"`
    }
    
    // NodeSelectorTermApplyConfiguration constructs an declarative configuration of the NodeSelectorTerm type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. pkg/controller/daemon/util/daemonset_util_test.go

    					RequiredDuringSchedulingIgnoredDuringExecution: &v1.NodeSelector{
    						NodeSelectorTerms: []v1.NodeSelectorTerm{
    							{
    								MatchFields: []v1.NodeSelectorRequirement{
    									{
    										// NOTE: Only `metadata.name` is valid key in `MatchFields` in 1.11;
    										//       added this case for compatibility: the feature works as normal
    										//       when new Keys introduced.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. src/go/doc/filter.go

    			// We don't match ordinary parameters in filterFuncs, so by analogy don't
    			// match type parameters here.
    			switch t := v.Type.(type) {
    			case *ast.StructType:
    				if matchFields(t.Fields, f) {
    					return true
    				}
    			case *ast.InterfaceType:
    				if matchFields(t.Methods, f) {
    					return true
    				}
    			}
    		}
    	}
    	return false
    }
    
    func filterValues(a []*Value, f Filter) []*Value {
    	w := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 01 18:18:07 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/nodeaffinity/node_affinity_test.go

    			runPreFilter: true,
    		},
    		{
    			name: "Pod with matchFields using In operator that matches the existing node",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    					Affinity: &v1.Affinity{
    						NodeAffinity: &v1.NodeAffinity{
    							RequiredDuringSchedulingIgnoredDuringExecution: &v1.NodeSelector{
    								NodeSelectorTerms: []v1.NodeSelectorTerm{
    									{
    										MatchFields: []v1.NodeSelectorRequirement{
    											{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 12:00:10 UTC 2023
    - 38.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha2.ResourceClass.yaml

      namespace: namespaceValue
    structuredParameters: true
    suitableNodes:
      nodeSelectorTerms:
      - matchExpressions:
        - key: keyValue
          operator: operatorValue
          values:
          - valuesValue
        matchFields:
        - key: keyValue
          operator: operatorValue
          values:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. pkg/controller/daemon/util/daemonset_util.go

    			pod.Namespace, pod.Name)
    	}
    
    	for _, term := range terms {
    		for _, exp := range term.MatchFields {
    			if exp.Key == metav1.ObjectNameField &&
    				exp.Operator == v1.NodeSelectorOpIn {
    				if len(exp.Values) != 1 {
    					return "", fmt.Errorf("the matchFields value of '%s' is not unique for pod %s/%s",
    						metav1.ObjectNameField, pod.Namespace, pod.Name)
    				}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 18 11:54:59 UTC 2022
    - 9.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.29.0/resource.k8s.io.v1alpha2.ResourceClass.json

              {
                "key": "keyValue",
                "operator": "operatorValue",
                "values": [
                  "valuesValue"
                ]
              }
            ],
            "matchFields": [
              {
                "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
    - 1.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.29.0/resource.k8s.io.v1alpha2.ResourceClass.yaml

      name: nameValue
      namespace: namespaceValue
    suitableNodes:
      nodeSelectorTerms:
      - matchExpressions:
        - key: keyValue
          operator: operatorValue
          values:
          - valuesValue
        matchFields:
        - key: keyValue
          operator: operatorValue
          values:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/resource.k8s.io.v1alpha2.ResourceClass.json

              {
                "key": "keyValue",
                "operator": "operatorValue",
                "values": [
                  "valuesValue"
                ]
              }
            ],
            "matchFields": [
              {
                "key": "keyValue",
                "operator": "operatorValue",
                "values": [
                  "valuesValue"
                ]
              }
            ]
          }
        ]
      },
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 15:15:31 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/resource.k8s.io.v1alpha2.ResourceClass.yaml

      namespace: namespaceValue
    structuredParameters: true
    suitableNodes:
      nodeSelectorTerms:
      - matchExpressions:
        - key: keyValue
          operator: operatorValue
          values:
          - valuesValue
        matchFields:
        - key: keyValue
          operator: operatorValue
          values:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top