Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MethodNotAllowed (0.2 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    // TestSomeUnimplementedRESTStorage ensures that if a rest.Storage does
    // not implement a given method, that it is literally not registered
    // with the server. We need to have at least one verb supported inorder
    // to get a MethodNotAllowed rather than NotFound error.
    func TestSomeUnimplementedRESTStorage(t *testing.T) {
    	type T struct {
    		Method  string
    		Path    string
    		ErrCode int
    	}
    
    	cases := map[string]T{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
Back to top