Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 491 for Required (0.17 sec)

  1. tests/test_generate_unique_id_function.py

                                        "$ref": "#/components/schemas/Body_foo_post_root"
                                    }
                                }
                            },
                            "required": True,
                        },
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Jan 13 15:10:26 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  2. tests/test_application.py

                            {
                                "required": False,
                                "schema": {"title": "Query"},
                                "name": "query",
                                "in": "query",
                            }
                        ],
                    }
                },
                "/query/param-required": {
                    "get": {
                        "responses": {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/test/integration/validation_test.go

    				"spec.versions[0].schema.openAPIV3Schema.properties[bar].items.type: Required value: must not be empty for specified array items",
    				"spec.versions[0].schema.openAPIV3Schema.properties[bar].type: Required value: must not be empty for specified object fields",
    				"spec.versions[0].schema.openAPIV3Schema.type: Required value: must not be empty at the root",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 26 20:48:36 UTC 2021
    - 63.6K bytes
    - Viewed (0)
  4. pkg/apis/admissionregistration/validation/validation.go

    	var allErrors field.ErrorList
    	if len(resources) == 0 {
    		allErrors = append(allErrors, field.Required(fldPath, ""))
    	}
    	for i, resource := range resources {
    		if resource == "" {
    			allErrors = append(allErrors, field.Required(fldPath.Index(i), ""))
    		}
    		if strings.Contains(resource, "/") {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go

    	}
    
    	switch *schema.XListType {
    	case "map":
    		// ensure all map keys are required or have a default
    		isRequired := make(map[string]bool, len(schema.Items.Schema.Required))
    		for _, required := range schema.Items.Schema.Required {
    			isRequired[required] = true
    		}
    
    		for _, k := range schema.XListMapKeys {
    			obj, ok := schema.Items.Schema.Properties[k]
    			if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 82.6K bytes
    - Viewed (0)
  6. pkg/apis/batch/validation/validation.go

    		}
    	}
    	if opts.RejectCompleteJobWithoutCompletionTime {
    		if status.CompletionTime == nil && IsJobComplete(job) {
    			allErrs = append(allErrs, field.Required(fldPath.Child("completionTime"), "completionTime is required for Complete jobs"))
    		}
    	}
    	if opts.RejectCompletionTimeBeforeStartTime {
    		if status.StartTime != nil && status.CompletionTime != nil && status.CompletionTime.Before(status.StartTime) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    		want        string
    	}{
    		{
    			name: "audiences is empty",
    			in:   []string{},
    			want: "issuer.audiences: Required value: at least one issuer.audiences is required",
    		},
    		{
    			name: "audience is empty",
    			in:   []string{""},
    			want: "issuer.audiences[0]: Required value: audience can't be empty",
    		},
    		{
    			name:        "invalid match policy with single audience",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  8. pkg/apis/flowcontrol/validation/validation_test.go

    						NonResourceURLs: []string{"*"},
    					}},
    				}},
    			},
    		},
    		expectedErrors: field.ErrorList{
    			field.Required(field.NewPath("spec").Child("rules").Index(0).Child("subjects").Index(0).Child("serviceAccount"), "serviceAccount is required when subject kind is 'ServiceAccount'"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 54.7K bytes
    - Viewed (0)
  9. pkg/apis/admissionregistration/types.go

    	// If '*' is present, the length of the slice must be one.
    	// Required.
    	APIGroups []string
    
    	// APIVersions is the API versions the resources belong to. '*' is all versions.
    	// If '*' is present, the length of the slice must be one.
    	// Required.
    	APIVersions []string
    
    	// Resources is a list of resources this rule applies to.
    	//
    	// For example:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 52.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      // "imagepolicy" is the name of the webhook, and kubernetes.io is the name
      // of the organization.
      // Required.
      optional string name = 1;
    
      // ClientConfig defines how to communicate with the hook.
      // Required
      optional WebhookClientConfig clientConfig = 2;
    
      // Rules describes what operations on what resources/subresources the webhook cares about.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top