Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 4,006 for Schema (0.11 sec)

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

    				"anyvalField2": "a",
    			},
    			schema: objectTypePtr(map[string]schema.Structural{
    				"withUnknown": {
    					Generic: schema.Generic{Type: "object"},
    					Extensions: schema.Extensions{
    						XPreserveUnknownFields: true,
    					},
    				},
    				"withUnknownList": listType(&schema.Structural{
    					Generic: schema.Generic{Type: "object"},
    					Extensions: schema.Extensions{
    						XPreserveUnknownFields: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/runtime/local_scheme_test.go

    	"github.com/google/go-cmp/cmp"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    )
    
    func TestPreferredVersionsAllGroups(t *testing.T) {
    	tests := []struct {
    		name                string
    		versionPriority     map[string][]string
    		observedVersions    []schema.GroupVersion
    		expectedPrioritized map[string][]schema.GroupVersion
    		expectedPreferred   map[schema.GroupVersion]bool
    	}{
    		{
    			name: "observedOnly",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/cel_validation.go

    // returned to indicate that there is no increase to the number of possible data elements
    // for its children.  Primitives do not have children, but 1 is returned for simplicity.
    func extractMaxElements(schema *apiextensions.JSONSchemaProps) *uint64 {
    	switch schema.Type {
    	case "object":
    		if schema.AdditionalProperties != nil {
    			if schema.MaxProperties != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_bigger_applications/test_main.py

                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/HTTPValidationError"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"anyvalField2": "a",
    			},
    			schema: objectTypePtr(map[string]schema.Structural{
    				"withUnknown": {
    					Generic: schema.Generic{Type: "object"},
    					Extensions: schema.Extensions{
    						XPreserveUnknownFields: true,
    					},
    				},
    				"withUnknownList": listType(&schema.Structural{
    					Generic: schema.Generic{Type: "object"},
    					Extensions: schema.Extensions{
    						XPreserveUnknownFields: true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_bigger_applications/test_main_an.py

                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/HTTPValidationError"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_bigger_applications/test_main_an_py39.py

                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/HTTPValidationError"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/register.go

    	&CreateOptions{},
    	&UpdateOptions{},
    	&PatchOptions{},
    }
    
    // AddToGroupVersion registers common meta types into schemas.
    func AddToGroupVersion(scheme *runtime.Scheme, groupVersion schema.GroupVersion) {
    	scheme.AddKnownTypeWithName(groupVersion.WithKind(WatchEventKind), &WatchEvent{})
    	scheme.AddKnownTypeWithName(
    		schema.GroupVersion{Group: groupVersion.Group, Version: runtime.APIVersionInternal}.WithKind(WatchEventKind),
    		&InternalEvent{},
    	)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 22 18:47:31 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    		}
    
    		if schema.Items != nil && schema.Items.Schema != nil && schema.Items.Schema.Type != "object" {
    			allErrs.SchemaErrors = append(allErrs.SchemaErrors, field.Invalid(fldPath.Child("items").Child("type"), schema.Items.Schema.Type, "must be object if parent array's x-kubernetes-list-type is map"))
    		}
    
    		if schema.Items != nil && schema.Items.Schema != nil && schema.Items.Schema.Type == "object" {
    			keys := map[string]struct{}{}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (1)
  10. tests/test_tutorial/test_body_updates/test_tutorial001_py39.py

                                "schema": {"title": "Item Id", "type": "string"},
                                "name": "item_id",
                                "in": "path",
                            }
                        ],
                        "requestBody": {
                            "content": {
                                "application/json": {
                                    "schema": {"$ref": "#/components/schemas/Item"}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
Back to top