Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for maxField (0.12 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    					"make minField valid, ratcheting old value for maxField",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    						"minField":   "valuelength13",
    						"maxField":   "valueThatsVeryLongSee",
    						"otherField": "otherValue",
    					}},
    				applyPatchOperation{
    					"make maxField shorter",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    						"maxField": "l2",
    					}},
    				expectError{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				stringField: foo
    				mapField:
    					foo: notbaz
    					mapField:
    						bar: notbaz
    			`),
    			newObj: mustUnstructured(`
    				stringField: foo
    				mapField:
    					foo: notbaz
    					mapField:
    						bar: notbaz
    			`),
    			warnings: []string{
    				`root.mapField.foo: Invalid value: "string": gotta be baz`,
    				`root.mapField.mapField.bar: Invalid value: "string": gotta be nested baz`,
    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/apiserver/pkg/cel/value.go

    	return &structValue{
    		Fields:   []*Field{},
    		fieldMap: map[string]*Field{},
    	}
    }
    
    type structValue struct {
    	Fields   []*Field
    	fieldMap map[string]*Field
    }
    
    // AddField appends a MapField to the MapValue and indexes the field by name.
    func (sv *structValue) AddField(field *Field) {
    	sv.Fields = append(sv.Fields, field)
    	sv.fieldMap[field.Name] = field
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 20.5K bytes
    - Viewed (0)
Back to top