Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for subfield (0.23 sec)

  1. cmd/kubelet/app/server_test.go

    					"cpu":    "200m",
    					"memory": "100Mi",
    				},
    				"SyncFrequency": metav1.Duration{Duration: 5 * time.Minute},
    			},
    			name: "kubelet.conf.d overrides kubelet.conf with subfield override",
    		},
    		{
    			kubeletConfig: &kubeletconfiginternal.KubeletConfiguration{
    				TypeMeta: metav1.TypeMeta{
    					Kind:       "KubeletConfiguration",
    					APIVersion: "kubelet.config.k8s.io/v1beta1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 21:48:29 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    							otherField:
    								type: string
    			`),
    			oldObj: mustUnstructured(`
    				subField:
    					apiVersion: v2
    					kind: Baz
    				list:	
    				- name: entry1
    				  apiVersion: v2
    				  kind: Baz
    				- name: entry2
    				  apiVersion: v3
    				  kind: Bar
    			`),
    			newObj: mustUnstructured(`
    				subField:
    					apiVersion: v2
    					kind: Baz
    					otherField: newValue
    				list:	
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

    					Properties: map[string]apiextensions.JSONSchemaProps{
    						"value": {
    							Type:     "object",
    							XMapType: strPtr("granular"),
    							Properties: map[string]apiextensions.JSONSchemaProps{
    								"subfield": {
    									Type:      "string",
    									MaxLength: int64ptr(10),
    									XValidations: apiextensions.ValidationRules{
    										{Rule: "self == oldSelf"},
    									},
    								},
    							},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 349.4K bytes
    - Viewed (0)
  4. pkg/apis/core/validation/validation.go

    	}
    	// add more subfields here in the future as they are added to NodeConfigSource
    
    	// exactly one reference subfield must be non-nil
    	if count != 1 {
    		allErrs = append(allErrs, field.Invalid(fldPath, source, "exactly one reference subfield must be non-nil"))
    	}
    	return allErrs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 349.5K bytes
    - Viewed (0)
  5. fastapi/utils.py

        new_field.validate_always = field.validate_always  # type: ignore[attr-defined]
        if field.sub_fields:  # type: ignore[attr-defined]
            new_field.sub_fields = [  # type: ignore[attr-defined]
                create_cloned_field(sub_field, cloned_types=cloned_types)
                for sub_field in field.sub_fields  # type: ignore[attr-defined]
            ]
        if field.key_field:  # type: ignore[attr-defined]
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  6. fastapi/_compat.py

                field.type_, BaseModel
            ):
                if field.sub_fields is not None:  # type: ignore[attr-defined]
                    for sub_field in field.sub_fields:  # type: ignore[attr-defined]
                        if not is_pv1_scalar_field(sub_field):
                            return False
                return True
            if _annotation_is_sequence(field.type_):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/conversion_test.go

    	case reflect.Struct:
    		aFields := a.NumField()
    		bFields := b.NumField()
    		if aFields != bFields {
    			fatalTypeError(t, path, a, b, "mismatched field count")
    		}
    		for i := 0; i < aFields; i++ {
    			aField := a.Field(i)
    			bField := b.Field(i)
    			if aField.Name != bField.Name {
    				fatalTypeError(t, path, a, b, fmt.Sprintf("mismatched field name %d: %s %s", i, aField.Name, bField.Name))
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  8. pkg/kubelet/stats/pidlimit/pidlimit_linux.go

    	}
    	fields := strings.Fields(string(bytes))
    	if len(fields) < 5 {
    		return 0, fmt.Errorf("not enough fields in /proc/loadavg")
    	}
    	subfields := strings.Split(fields[3], "/")
    	if len(subfields) != 2 {
    		return 0, fmt.Errorf("error parsing fourth field of /proc/loadavg")
    	}
    	return strconv.ParseInt(subfields[1], 10, 64)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 17 09:24:29 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  9. src/net/http/h2_error.go

    		return false
    	}
    	src := reflect.ValueOf(e)
    	srcType := src.Type()
    	numField := srcType.NumField()
    	if dstType.NumField() != numField {
    		return false
    	}
    	for i := 0; i < numField; i++ {
    		sf := srcType.Field(i)
    		df := dstType.Field(i)
    		if sf.Name != df.Name || !sf.Type.ConvertibleTo(df.Type) {
    			return false
    		}
    	}
    	for i := 0; i < numField; i++ {
    		df := dst.Field(i)
    		df.Set(src.Field(i).Convert(df.Type()))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 812 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/authorization/cel/compile_test.go

    	if len(requestDeclType.Fields) != requestType.NumField() {
    		t.Fatalf("expected %d fields for SubjectAccessReviewSpec, got %d", requestType.NumField(), len(requestDeclType.Fields))
    	}
    	resourceAttributesDeclType := buildResourceAttributesType(f, fs)
    	resourceAttributeType := reflect.TypeOf(v1.ResourceAttributes{})
    	if len(resourceAttributesDeclType.Fields) != resourceAttributeType.NumField() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top