Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 55 for mapType (0.13 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/adaptor.go

    func (s *Structural) XListType() string {
    	if s.Structural.XListType == nil {
    		return ""
    	}
    	return *s.Structural.XListType
    }
    
    func (s *Structural) XMapType() string {
    	if s.Structural.XMapType == nil {
    		return ""
    	}
    	return *s.Structural.XMapType
    }
    
    func (s *Structural) XListMapKeys() []string {
    	return s.Structural.XListMapKeys
    }
    
    func (s *Structural) AllOf() []common.Schema {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssagen/ssa.go

    	_ = types.NewPtr(types.Types[types.TINT64])                             // *int64
    	_ = types.NewPtr(types.ErrorType)                                       // *error
    	_ = types.NewPtr(reflectdata.MapType())                                 // *runtime.hmap
    	_ = types.NewPtr(deferstruct())                                         // *runtime._defer
    	types.NewPtrCacheEnabled = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/convert.go

    		return nil, nil
    	}
    
    	ret := &Extensions{
    		XEmbeddedResource: s.XEmbeddedResource,
    		XIntOrString:      s.XIntOrString,
    		XListMapKeys:      s.XListMapKeys,
    		XListType:         s.XListType,
    		XMapType:          s.XMapType,
    	}
    
    	if s.XPreserveUnknownFields != nil {
    		if !*s.XPreserveUnknownFields {
    			return nil, fmt.Errorf("internal error: 'x-kubernetes-preserve-unknown-fields' must be true or undefined")
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    		}
    	}
    
    	if schema.XMapType != nil && *schema.XMapType != "atomic" && *schema.XMapType != "granular" {
    		allErrs.SchemaErrors = append(allErrs.SchemaErrors, field.NotSupported(fldPath.Child("x-kubernetes-map-type"), *schema.XMapType, []string{"atomic", "granular"}))
    	}
    
    	if schema.XListType != nil && schema.Type != "array" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/structural.go

    	//      the default behaviour for all maps.
    	// 2) `atomic`: the list is treated as a single entity, like a scalar.
    	//      Atomic maps will be entirely replaced when updated.
    	// +optional
    	XMapType *string
    }
    
    // +k8s:deepcopy-gen=true
    
    // ValidationExtensions contains the Kubernetes OpenAPI v3 extensions that are
    // used for validation rather than structure.
    type ValidationExtensions struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. pkg/apis/core/types.go

    	// resources associated with PVC.
    	//
    	// This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
    	// +featureGate=RecoverVolumeExpansionFailure
    	// +mapType=granular
    	// +optional
    	AllocatedResourceStatuses map[ResourceName]ClaimResourceStatus
    	// currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 268.9K bytes
    - Viewed (0)
  7. src/go/types/predicates.go

    			return Typ[String]
    		}
    	}
    	return t
    }
    
    // maxType returns the "largest" type that encompasses both x and y.
    // If x and y are different untyped numeric types, the result is the type of x or y
    // that appears later in this list: integer, rune, floating-point, complex.
    // Otherwise, if x != y, the result is nil.
    func maxType(x, y Type) Type {
    	// We only care about untyped types (for now), so == is good enough.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/predicates.go

    			return Typ[String]
    		}
    	}
    	return t
    }
    
    // maxType returns the "largest" type that encompasses both x and y.
    // If x and y are different untyped numeric types, the result is the type of x or y
    // that appears later in this list: integer, rune, floating-point, complex.
    // Otherwise, if x != y, the result is nil.
    func maxType(x, y Type) Type {
    	// We only care about untyped types (for now), so == is good enough.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  9. api/api-rules/violation_exceptions.list

    API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,XListType
    API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,XMapType
    API rule violation: names_match,k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1,JSONSchemaProps,XPreserveUnknownFields
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

    					Type:     "array",
    					XMapType: strPtr("granular"),
    				},
    			},
    			expectedErrors: []validationMatch{
    				invalid("spec.validation.openAPIV3Schema.type"),
    			},
    		},
    		{
    			name: "unset type with map type extension (granular)",
    			input: apiextensions.CustomResourceValidation{
    				OpenAPIV3Schema: &apiextensions.JSONSchemaProps{
    					XMapType: strPtr("granular"),
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 349.4K bytes
    - Viewed (0)
Back to top