Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 160 for mapType (0.1 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/openapi/adaptor.go

    }
    
    func (s *Schema) IsXPreserveUnknownFields() bool {
    	return isXPreserveUnknownFields(s.Schema)
    }
    
    func (s *Schema) XListType() string {
    	return getXListType(s.Schema)
    }
    
    func (s *Schema) XMapType() string {
    	return getXMapType(s.Schema)
    }
    
    func (s *Schema) XListMapKeys() []string {
    	return getXListMapKeys(s.Schema)
    }
    
    func (s *Schema) XValidations() []common.ValidationRule {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 10 21:26:55 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/validation.go

    	}
    	if in.XListType != nil {
    		out.VendorExtensible.AddExtension("x-kubernetes-list-type", *in.XListType)
    	}
    	if in.XMapType != nil {
    		out.VendorExtensible.AddExtension("x-kubernetes-map-type", *in.XMapType)
    	}
    	if len(in.XValidations) != 0 {
    		var serializationValidationRules apiextensionsv1.ValidationRules
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 18:23:28 UTC 2023
    - 15K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/zz_generated.conversion.go

    	out.XIntOrString = in.XIntOrString
    	out.XListMapKeys = *(*[]string)(unsafe.Pointer(&in.XListMapKeys))
    	out.XListType = (*string)(unsafe.Pointer(in.XListType))
    	out.XMapType = (*string)(unsafe.Pointer(in.XMapType))
    	out.XValidations = *(*apiextensions.ValidationRules)(unsafe.Pointer(&in.XValidations))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 67.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/zz_generated.conversion.go

    	out.XIntOrString = in.XIntOrString
    	out.XListMapKeys = *(*[]string)(unsafe.Pointer(&in.XListMapKeys))
    	out.XListType = (*string)(unsafe.Pointer(in.XListType))
    	out.XMapType = (*string)(unsafe.Pointer(in.XMapType))
    	out.XValidations = *(*apiextensions.ValidationRules)(unsafe.Pointer(&in.XValidations))
    	return nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 71.5K 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