Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 80 for fieldValidation (0.32 sec)

  1. staging/src/k8s.io/cli-runtime/artifacts/openapi/swagger-with-shared-parameters.json

          "in": "query",
          "name": "fieldSelector",
          "type": "string",
          "uniqueItems": true
        },
        "fieldValidation-6z4JVnjK": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 2.3M bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/create.go

    			return
    		}
    		options.TypeMeta.SetGroupVersionKind(metav1.SchemeGroupVersion.WithKind("CreateOptions"))
    
    		defaultGVK := scope.Kind
    		original := r.New()
    
    		validationDirective := fieldValidation(options.FieldValidation)
    		decodeSerializer := s.Serializer
    		if validationDirective == metav1.FieldValidationWarn || validationDirective == metav1.FieldValidationStrict {
    			decodeSerializer = s.StrictSerializer
    		}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:19:46 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  3. api/openapi-spec/v3/apis__authorization.k8s.io__v1_openapi.json

              "in": "query",
              "name": "fieldManager",
              "schema": {
                "type": "string",
                "uniqueItems": true
              }
            },
            {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:26 UTC 2023
    - 66.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/resource/query_param_verifier_v3.go

    }
    
    var namespaceGVK = schema.GroupVersionKind{Group: "", Version: "v1", Kind: "Namespace"}
    
    // HasSupport returns nil error if the passed GVK supports the parameter
    // (stored in struct; usually "fieldValidation") for Patch endpoint.
    // Returns an error if the passed GVK does not support the query param,
    // or if another error occurred. If the Open API V3 spec for a CRD is not
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 01:23:27 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    	// duplicate fields are present. The error returned from the server
    	// will contain all unknown and duplicate fields encountered.
    	// +optional
    	FieldValidation string `json:"fieldValidation,omitempty" protobuf:"bytes,4,name=fieldValidation"`
    }
    
    // +k8s:conversion-gen:explicit-from=net/url.Values
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/resource/query_param_verifier_v3_test.go

    		crds             []schema.GroupKind      // CRDFinder returns these CRD's
    		gvk              schema.GroupVersionKind // GVK whose OpenAPI V3 spec is checked
    		queryParam       VerifiableQueryParam    // Usually "fieldValidation"
    		expectedSupports bool
    	}{
    		"Field validation query param is supported for batch/v1/Job": {
    			crds: []schema.GroupKind{},
    			gvk: schema.GroupVersionKind{
    				Group:   "batch",
    				Version: "v1",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 12 04:44:45 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/cli-runtime/artifacts/openapi/swagger.json

                "in": "query",
                "name": "fieldManager",
                "type": "string",
                "uniqueItems": true
              },
              {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 4.5M bytes
    - Viewed (0)
  8. api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1beta3_openapi.json

                "name": "fieldManager",
                "schema": {
                  "type": "string",
                  "uniqueItems": true
                }
              },
              {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 232.7K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1_openapi.json

                "name": "fieldManager",
                "schema": {
                  "type": "string",
                  "uniqueItems": true
                }
              },
              {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 231.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest.go

    	}
    	return readBody, err
    }
    
    func isDryRun(url *url.URL) bool {
    	return len(url.Query()["dryRun"]) != 0
    }
    
    // fieldValidation checks that the field validation feature is enabled
    // and returns a valid directive of either
    // - Ignore
    // - Warn (default)
    // - Strict
    func fieldValidation(directive string) string {
    	if directive == "" {
    		return metav1.FieldValidationWarn
    	}
    	return directive
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 17K bytes
    - Viewed (0)
Back to top