Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 160 for mapType (0.17 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/kubeopenapi.go

    	}
    	if x.XListType != nil {
    		ret.VendorExtensible.AddExtension("x-kubernetes-list-type", *x.XListType)
    	}
    	if x.XMapType != nil {
    		ret.VendorExtensible.AddExtension("x-kubernetes-map-type", *x.XMapType)
    	}
    }
    
    func (x *ValidationExtensions) toKubeOpenAPI(ret *spec.Schema) {
    	if x == nil {
    		return
    	}
    
    	if len(x.XValidations) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/zz_generated.deepcopy.go

    		*out = make([]string, len(*in))
    		copy(*out, *in)
    	}
    	if in.XListType != nil {
    		in, out := &in.XListType, &out.XListType
    		*out = new(string)
    		**out = **in
    	}
    	if in.XMapType != nil {
    		in, out := &in.XMapType, &out.XMapType
    		*out = new(string)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extensions.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. api/api-rules/apiextensions_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 Nov 27 20:06:21 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. 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)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/jsonschemaprops.go

    	return b
    }
    
    // WithXMapType sets the XMapType field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the XMapType field is set to the value of the last call.
    func (b *JSONSchemaPropsApplyConfiguration) WithXMapType(value string) *JSONSchemaPropsApplyConfiguration {
    	b.XMapType = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/common/adaptor.go

    type KubeExtensions interface {
    	IsXIntOrString() bool
    	IsXEmbeddedResource() bool
    	IsXPreserveUnknownFields() bool
    	XListType() string
    	XListMapKeys() []string
    	XMapType() string
    	XValidations() []ValidationRule
    }
    
    // ValidationRule represents a single x-kubernetes-validations rule.
    type ValidationRule interface {
    	Rule() string
    	Message() string
    	MessageExpression() string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 10 21:26:55 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/jsonschemaprops.go

    	return b
    }
    
    // WithXMapType sets the XMapType field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the XMapType field is set to the value of the last call.
    func (b *JSONSchemaPropsApplyConfiguration) WithXMapType(value string) *JSONSchemaPropsApplyConfiguration {
    	b.XMapType = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  10. 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)
Back to top