Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for makeHandler (0.54 sec)

  1. pkg/volume/util/operationexecutor/operation_generator_test.go

    	fakeKubeClient := fakeclient.NewSimpleClientset(objects...)
    	fakeRecorder := &record.FakeRecorder{}
    	fakeHandler := volumetesting.NewBlockVolumePathHandler()
    	operationGenerator := NewOperationGenerator(
    		fakeKubeClient,
    		volumePluginMgr,
    		fakeRecorder,
    		fakeHandler)
    	return operationGenerator
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. pkg/ctrlz/assets/static/js/clipboard-1.7.1.min.js

    ibute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,i.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function t(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function t(){this.selectedText=(0,i.default)(this.target),...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  3. src/main/webapp/js/clipboard.min.js

    tribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,c.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,c.default)(this.target),th...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat May 28 04:16:16 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/graceful_termination_test.go

    	for gracefulTerminationManager.rsList.len() < 20 {
    	}
    
    	// fake the handler to avoid the check against the IPVS virtual servers
    	fakeHandler := func(rsToDelete *listItem) (bool, error) {
    		return true, nil
    	}
    	if !gracefulTerminationManager.rsList.flushList(fakeHandler) {
    		t.Error("failed to flush entries")
    	}
    }
    
    func makeListItem(i, j int) *listItem {
    	vs := fmt.Sprintf("%d.%d.%d.%d", 1, 1, i, i)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 11K bytes
    - Viewed (0)
  5. pkg/controller/controller_utils_test.go

    			body := runtime.EncodeOrDie(clientscheme.Codecs.LegacyCodec(v1.SchemeGroupVersion), &v1.Pod{ObjectMeta: metav1.ObjectMeta{Name: "empty_pod"}})
    			fakeHandler := utiltesting.FakeHandler{
    				StatusCode:   200,
    				ResponseBody: string(body),
    			}
    			testServer := httptest.NewServer(&fakeHandler)
    			defer testServer.Close()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. pkg/controller/replicaset/replica_set_test.go

    	// Setup a test server so we can lie about the current state of pods
    	logger, ctx := ktesting.NewTestContext(t)
    	fakeHandler := utiltesting.FakeHandler{
    		StatusCode:    200,
    		ResponseBody:  "{}",
    		SkipRequestFn: skipListerFunc,
    		T:             t,
    	}
    	testServer := httptest.NewServer(&fakeHandler)
    	defer testServer.Close()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  7. pkg/controller/endpoint/endpoints_controller_test.go

    		}
    		store.Add(p)
    	}
    }
    
    func makeTestServer(t *testing.T, namespace string) (*httptest.Server, *utiltesting.FakeHandler) {
    	fakeEndpointsHandler := utiltesting.FakeHandler{
    		StatusCode:   http.StatusOK,
    		ResponseBody: runtime.EncodeOrDie(clientscheme.Codecs.LegacyCodec(v1.SchemeGroupVersion), &v1.Endpoints{}),
    	}
    	mux := http.NewServeMux()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
Back to top