Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for RequestReceived (0.31 sec)

  1. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy

            given:
            def requestReceived = false
            def terminate = false
            setupLockOwner {
                requestReceived = true
                while(!terminate) { Thread.sleep(100) } //block the release action thread
            }
    
            when:
            def build = executer.withTasks("lock").start()
            poll(120) { assert requestReceived }
    
            // simulate additional requests
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/audit/validation/validation_test.go

    			UserGroups: []string{"developers"},
    			NonResourceURLs: []string{
    				"/logs*",
    				"/healthz*",
    				"/metrics",
    				"*",
    			},
    		}, { // Omit RequestReceived stage
    			Level: audit.LevelMetadata,
    			OmitStages: []audit.Stage{
    				audit.Stage("RequestReceived"),
    			},
    		},
    	}
    	successCases := []audit.Policy{}
    	for _, rule := range validRules {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 02 07:48:42 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/audit/policy/checker_test.go

    	test(t, "namespaced", audit.LevelRequest, nil, []audit.Stage{audit.StageRequestReceived, audit.StageResponseStarted, audit.StageResponseComplete}, "only audit panic", "getPods", "default")
    	test(t, "cluster", audit.LevelRequest, nil, []audit.Stage{audit.StageRequestReceived}, "omit RequestReceived", "getPods", "default")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 12 15:06:14 UTC 2021
    - 15.1K bytes
    - Viewed (0)
  4. pkg/client/tests/remotecommand_test.go

    				var (
    					streamIn             io.Reader
    					streamOut, streamErr io.Writer
    				)
    				localOut := &bytes.Buffer{}
    				localErr := &bytes.Buffer{}
    
    				requestReceived := make(chan struct{})
    				server := httptest.NewServer(fakeServer(t, requestReceived, name, exec, testCase.Stdin, testCase.Stdout, testCase.Stderr, testCase.Error, testCase.Tty, testCase.MessageCount, testCase.ServerProtocols))
    				defer server.Close()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 05 06:08:18 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  5. pkg/kubelet/config/http_test.go

    		t.Fatalf("Unexpected error extracting from URL: %v", err)
    	}
    	update := (<-ch).(kubetypes.PodUpdate)
    
    	headerVal := fakeHandler.RequestReceived.Header["Metadata-Flavor"]
    	if len(headerVal) != 1 || headerVal[0] != "Google" {
    		t.Errorf("Header missing expected entry %v. Got %v", header, fakeHandler.RequestReceived.Header)
    	}
    	if len(update.Pods) != 1 {
    		t.Errorf("Received wrong number of pods, expected one: %v", update.Pods)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 14 09:38:23 UTC 2022
    - 11.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/plugin/pkg/audit/log/backend_test.go

    						"system:authenticated",
    					},
    				},
    				UserAgent: "kube-admin",
    				ObjectRef: &auditinternal.ObjectReference{
    					Namespace: "default",
    				},
    			},
    			`[\d\:\-\.\+TZ]+ AUDIT: id="[\w-]+" stage="RequestReceived" ip="127.0.0.1" method="get" user="admin" groups="\\"system:masters\\",\\"system:authenticated\\"" as="<self>" asgroups="<lookup>" user-agent="kube-admin" namespace="default" uri="/apis/rbac.authorization.k8s.io/v1/roles" response="200"`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 08 06:37:26 UTC 2022
    - 5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/audit/types.go

    type Stage string
    
    // Valid audit stages.
    const (
    	// The stage for events generated as soon as the audit handler receives the request, and before it
    	// is delegated down the handler chain.
    	StageRequestReceived Stage = "RequestReceived"
    	// The stage for events generated once the response headers are sent, but before the response body
    	// is sent. This stage is only generated for long-running requests (e.g. watch).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 03 09:18:23 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  8. cluster/gce/gci/configure-helper.sh

        omitStages:
          - "RequestReceived"
      # Get responses can be large; skip them.
      - level: Request
        verbs: ["get", "list", "watch"]
        resources: ${known_apis}
        omitStages:
          - "RequestReceived"
      # Default level for known APIs
      - level: RequestResponse
        resources: ${known_apis}
        omitStages:
          - "RequestReceived"
      # Default level for all other requests.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/apis/audit/v1/types.go

    type Stage string
    
    // Valid audit stages.
    const (
    	// The stage for events generated as soon as the audit handler receives the request, and before it
    	// is delegated down the handler chain.
    	StageRequestReceived Stage = "RequestReceived"
    	// The stage for events generated once the response headers are sent, but before the response body
    	// is sent. This stage is only generated for long-running requests (e.g. watch).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:24:10 UTC 2023
    - 14.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit_test.go

    					Verb:           "watch",
    					RequestURI:     longRunningPath,
    					ResponseStatus: &metav1.Status{Code: 500},
    				},
    			},
    			true,
    		},
    		{
    			"omit RequestReceived",
    			shortRunningPath,
    			"GET",
    			"",
    			[]auditinternal.Stage{auditinternal.StageRequestReceived},
    			func(w http.ResponseWriter, req *http.Request) {
    				w.Write([]byte("foo"))
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 03 16:16:51 UTC 2023
    - 22.6K bytes
    - Viewed (0)
Back to top