Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for FieldValueForbidden (0.43 sec)

  1. pkg/apis/core/validation/validation_test.go

    			podSec:    &core.PodSpec{SecurityContext: validWindowsSC},
    			expectErr: false,
    		},
    		"invalid SC, windows, error": {
    			podSec:      &core.PodSpec{SecurityContext: invalidWindowsSC},
    			errorType:   "FieldValueForbidden",
    			errorDetail: "cannot be set for a windows pod",
    			expectErr:   true,
    		},
    	}
    	for k, v := range cases {
    		t.Run(k, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    	// values which would be accepted under some conditions, but which are not
    	// permitted by the current conditions (such as security policy).  See
    	// Forbidden().
    	CauseTypeForbidden CauseType = "FieldValueForbidden"
    	// CauseTypeTooLong is used to report that the given value is too long.
    	// This is similar to ErrorTypeInvalid, but the error will not include the
    	// too-long value.  See TooLong().
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (1)
  3. api/openapi-spec/v3/apis__apiextensions.k8s.io__v1_openapi.json

    returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: \"FieldValueInvalid\", \"FieldValueForbidden\", \"FieldValueRequired\", \"FieldValueDuplicate\". If not set, default to use \"FieldValueInvalid\". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.",...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 178.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation_test.go

    												return &r
    											}(),
    										},
    										{
    											Rule: "true",
    											Reason: func() *apiextensions.FieldValueErrorReason {
    												r := apiextensions.FieldValueForbidden
    												return &r
    											}(),
    										},
    									},
    								},
    							},
    						},
    					},
    				},
    				Status: apiextensions.CustomResourceDefinitionStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 349.4K bytes
    - Viewed (0)
  5. pkg/generated/openapi/zz_generated.openapi.go

    returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: \"FieldValueInvalid\", \"FieldValueForbidden\", \"FieldValueRequired\", \"FieldValueDuplicate\". If not set, default to use \"FieldValueInvalid\". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.\n\nPossible...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
  6. api/openapi-spec/swagger.json

    returned to the caller when a request fails this validation rule. The HTTP status code returned to the caller will match the reason of the reason of the first failed validation rule. The currently supported reasons are: \"FieldValueInvalid\", \"FieldValueForbidden\", \"FieldValueRequired\", \"FieldValueDuplicate\". If not set, default to use \"FieldValueInvalid\". All future added reasons must be accepted by clients when reading this value and unknown reasons should be treated as FieldValueInvalid.",...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3.1M bytes
    - Viewed (0)
Back to top