Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 55 for BadRequest (0.46 sec)

  1. cmd/handler-utils.go

    			Code:           "XMinioAdminVersionMismatch",
    			Description:    desc,
    			HTTPStatusCode: http.StatusUpgradeRequired,
    		}, r.URL)
    	default:
    		writeErrorResponse(r.Context(), w, APIError{
    			Code: "BadRequest",
    			Description: fmt.Sprintf("An error occurred when parsing the HTTP request %s at '%s'",
    				r.Method, r.URL.Path),
    			HTTPStatusCode: http.StatusBadRequest,
    		}, r.URL)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest_test.go

    	actual := &testPatchType{}
    	err := strategicPatchObject(context.TODO(), defaulter, original, []byte(patch), actual, &testPatchType{}, "")
    	if !apierrors.IsBadRequest(err) {
    		t.Errorf("expected HTTP status: BadRequest, got: %#v", apierrors.ReasonForError(err))
    	}
    	if !strings.Contains(err.Error(), expectedError) {
    		t.Errorf("expected %#v, got %#v", expectedError, err.Error())
    	}
    }
    
    func TestJSONPatch(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  3. api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1beta3_openapi.json

                "in": "query",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 232.7K bytes
    - Viewed (0)
  4. api/openapi-spec/v3/apis__flowcontrol.apiserver.k8s.io__v1_openapi.json

                "in": "query",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 231.7K bytes
    - Viewed (0)
  5. api/openapi-spec/v3/apis__authentication.k8s.io__v1_openapi.json

              "in": "query",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:25 UTC 2023
    - 41.5K bytes
    - Viewed (0)
  6. pkg/registry/core/pod/storage/eviction_test.go

    			eviction:     &policy.Eviction{ObjectMeta: metav1.ObjectMeta{Name: "t7", Namespace: "default"}, DeleteOptions: metav1.NewDeleteOptions(0)},
    			expectError:  "name in URL does not match name in Eviction object: BadRequest",
    			podName:      "t7",
    		},
    		{
    			name: "matching pdbs with no disruptions allowed, pod running, empty selector",
    			pdbs: []runtime.Object{&policyv1.PodDisruptionBudget{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 09:26:37 UTC 2024
    - 40K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types.go

    	// StatusReasonInvalid above which indicates that the API call could possibly succeed, but the
    	// data was invalid.  API calls that return BadRequest can never succeed.
    	// Status code 400
    	StatusReasonBadRequest StatusReason = "BadRequest"
    
    	// StatusReasonMethodNotAllowed means that the action the client attempted to perform on the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 10:52:25 UTC 2024
    - 79.2K bytes
    - Viewed (1)
  8. api/openapi-spec/v3/apis__certificates.k8s.io__v1_openapi.json

                "in": "query",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 151.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types_swagger_doc_generated.go

    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 49.2K bytes
    - Viewed (0)
  10. api/openapi-spec/v3/apis__resource.k8s.io__v1alpha2_openapi.json

                "in": "query",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 12:18:45 UTC 2024
    - 656.6K bytes
    - Viewed (0)
Back to top