Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for StringProperty (0.28 sec)

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

    				"name": *spec.StringProperty(),
    				"value": {SchemaProps: spec.SchemaProps{
    					Type:    []string{"integer"},
    					Default: int64(1),
    					Format:  "int64",
    					Enum:    []any{1, 2, 3},
    				}},
    				"nested": {SchemaProps: spec.SchemaProps{
    					Type: []string{"object"},
    					Properties: map[string]spec.Schema{
    						"subname": *spec.StringProperty(),
    						"flags": {SchemaProps: spec.SchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 17:18:27 UTC 2022
    - 13K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking_test.go

    						"foo": *spec.StringProperty(),
    					},
    				},
    			},
    			assertions: []assertionFunc{toBeEmpty},
    		},
    		{
    			name:   "undefined field",
    			policy: deploymentPolicy,
    			schemaToReturn: &spec.Schema{
    				SchemaProps: spec.SchemaProps{
    					Type: []string{"object"},
    					Properties: map[string]spec.Schema{
    						"bar": *spec.StringProperty(),
    					},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/cel/openapi/compiling_test.go

    // bar is an object with a string field "bar", an integer field "common", and an integer field "confusion"
    func buildTestEnv() (*cel.Env, error) {
    	fooType := common.SchemaDeclType(simpleMapSchema("foo", spec.StringProperty()), true).MaybeAssignTypeName("fooType")
    	barType := common.SchemaDeclType(simpleMapSchema("bar", spec.Int64Property()), true).MaybeAssignTypeName("barType")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/v2/conversion_test.go

    					{Type: "string"},
    				},
    			},
    			expected: new(spec.Schema),
    			// intentionally not exported in v2
    			// expected: new(spec.Schema).
    			//   WithAllOf(*spec.BooleanProperty(), *spec.StringProperty()),
    		},
    		{
    			name: "oneOf",
    			in: &apiextensions.JSONSchemaProps{
    				OneOf: []apiextensions.JSONSchemaProps{
    					{Type: "boolean"},
    					{Type: "string"},
    				},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 14:34:26 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/ScalarTypesInManagedModelIntegrationTest.groovy

                        element.bigIntegerProperty = new BigInteger("4")
                        element.bigDecimalProperty = new BigDecimal("5.5")
                        element.stringProperty = "test"
                        element.file = new File('sample.txt')
                        element.flag = true
                        element.otherFlag = true
                        element.thirdFlag = true
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy

                'nested.inputFile': missingNormalizationStrategy { annotatedWith('InputFile').includeLink().noIntro() },
                'nested.stringProperty': missingAnnotationMessage { property('nested.stringProperty').missingInput().includeLink().noIntro() },
                noPathSensitivity: missingNormalizationStrategy { annotatedWith('InputFiles').includeLink().noIntro() },
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 11:12:24 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/common/schemas.go

    		return s
    	}
    	result := *s
    	props := make(map[string]spec.Schema, len(s.Properties))
    	for k, prop := range s.Properties {
    		props[k] = prop
    	}
    	stringType := spec.StringProperty()
    	props["kind"] = *stringType
    	props["apiVersion"] = *stringType
    	props["metadata"] = spec.Schema{
    		SchemaProps: spec.SchemaProps{
    			Type: []string{"object"},
    			Properties: map[string]spec.Schema{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 18:00:45 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/cel/openapi/values_test.go

    	"github.com/google/cel-go/common/types/traits"
    
    	"k8s.io/kube-openapi/pkg/validation/spec"
    )
    
    var (
    	listTypeSet  = "set"
    	listTypeMap  = "map"
    	stringSchema = spec.StringProperty()
    	intSchema    = spec.Int64Property()
    
    	mapListElementSchema = &spec.Schema{
    		SchemaProps: spec.SchemaProps{
    			Type: []string{"object"},
    			Properties: map[string]spec.Schema{
    				"key": *stringSchema,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 17.7K bytes
    - Viewed (0)
Back to top