Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 681 for TField (0.13 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/selection_predicate.go

    	if matched && s.Field != nil {
    		matched = (matched && s.Field.Matches(f))
    	}
    	return matched
    }
    
    // MatchesSingleNamespace will return (namespace, true) if and only if s.Field matches on the object's
    // namespace.
    func (s *SelectionPredicate) MatchesSingleNamespace() (string, bool) {
    	if len(s.Continue) > 0 || s.Field == nil {
    		return "", false
    	}
    	if namespace, ok := s.Field.RequiresExactMatch("metadata.namespace"); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. pkg/apis/resource/validation/validation_resourceclass_test.go

    				class.Annotations = map[string]string{
    					badName: "hello world",
    				}
    				return class
    			}(),
    		},
    		"missing-driver-name": {
    			wantFailures: field.ErrorList{field.Required(field.NewPath("driverName"), ""),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. src/encoding/csv/reader.go

    		}
    		if len(line) == 0 || line[0] != '"' {
    			// Non-quoted string field
    			i := bytes.IndexRune(line, r.Comma)
    			field := line
    			if i >= 0 {
    				field = field[:i]
    			} else {
    				field = field[:len(field)-lengthNL(field)]
    			}
    			// Check to make sure a quote does not appear in field.
    			if !r.LazyQuotes {
    				if j := bytes.IndexByte(field, '"'); j >= 0 {
    					col := pos.col + j
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:32:28 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    					"change field to an invalid string",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    						"field": "asd",
    					}}},
    				applyPatchOperation{
    					"change field to a valid byte string",
    					myCRDV1Beta1, myCRDInstanceName, map[string]interface{}{
    						"field": "dGhpcyBpcyBwYXNzd29yZA==",
    					}},
    				patchMyCRDV1Beta1Schema{
    					"change `field`'s format to date-time",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  5. api/maven-api-metadata/src/main/mdo/metadata.mdo

            </field>
            <field>
              <name>artifactId</name>
              <version>1.0.0+</version>
              <type>String</type>
              <description>The artifactId when this directory represents "groupId/artifactId" or "groupId/artifactId/version".</description>
            </field>
            <field>
              <name>versioning</name>
              <version>1.0.0+</version>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 15 17:32:27 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go

    		field("subResource", apiservercel.StringType, false),
    		field("requestKind", gvkType, true),
    		field("requestResource", gvrType, true),
    		field("requestSubResource", apiservercel.StringType, false),
    		field("name", apiservercel.StringType, true),
    		field("namespace", apiservercel.StringType, false),
    		field("operation", apiservercel.StringType, true),
    		field("userInfo", userInfoType, true),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  7. callbacks/preload.go

    				tx.AddError(rel.Field.Set(tx.Statement.Context, reflectValue.Index(i), reflect.MakeSlice(rel.Field.IndirectFieldType, 0, 10).Interface()))
    			default:
    				tx.AddError(rel.Field.Set(tx.Statement.Context, reflectValue.Index(i), reflect.New(rel.Field.FieldType).Interface()))
    			}
    		}
    	}
    
    	for i := 0; i < reflectResults.Len(); i++ {
    		elem := reflectResults.Index(i)
    		for idx, field := range relForeignFields {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/complete.go

    }
    
    func validateNestedValueValidationCompleteness(v *NestedValueValidation, s *Structural, sPath, vPath *field.Path, opts ValidationOptions) field.ErrorList {
    	if v == nil {
    		return nil
    	}
    	if s == nil {
    		return field.ErrorList{field.Required(sPath, fmt.Sprintf("because it is defined in %s", vPath.String()))}
    	}
    
    	allErrs := field.ErrorList{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 18:20:00 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. pkg/apis/resource/validation/validation_resourceclaimtemplate_test.go

    		wantFailures field.ErrorList
    	}{
    		"good-claim": {
    			template: testClaimTemplate(goodName, goodNS, goodClaimSpec),
    		},
    		"missing-name": {
    			wantFailures: field.ErrorList{field.Required(field.NewPath("metadata", "name"), "name or generateName is required")},
    			template:     testClaimTemplate("", goodNS, goodClaimSpec),
    		},
    		"bad-name": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. src/reflect/iter.go

    			break
    		}
    		return func(yield func(Value) bool) {
    			v = v.Elem()
    			for i := range v.Len() {
    				if !yield(ValueOf(i)) {
    					return
    				}
    			}
    		}
    	case Array, Slice:
    		return func(yield func(Value) bool) {
    			for i := range v.Len() {
    				if !yield(ValueOf(i)) {
    					return
    				}
    			}
    		}
    	case String:
    		return func(yield func(Value) bool) {
    			for i := range v.String() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 13:40:11 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top