Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for handleInternal (0.22 sec)

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

    			},
    		},
    	} {
    		t.Run(test.desc, func(t *testing.T) {
    			sink := &fakeAuditSink{}
    			handler := handleInternal(map[string]rest.Storage{
    				"simple": &SimpleRESTStorage{
    					list: []genericapitesting.Simple{
    						{
    							ObjectMeta: metav1.ObjectMeta{Name: "a", Namespace: "other"},
    							Other:      "foo",
    						},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 14 23:04:34 UTC 2022
    - 12.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    	return genericapifilters.WithWarningRecorder(handle(storage))
    }
    
    // uses the default settings
    func handle(storage map[string]rest.Storage) http.Handler {
    	return handleInternal(storage, admissionControl, nil)
    }
    
    func handleInternal(storage map[string]rest.Storage, admissionControl admission.Interface, auditSink audit.Sink) http.Handler {
    	container := restful.NewContainer()
    	container.Router(restful.CurlyRouter{})
    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