Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newTestStreamingServer (0.14 sec)

  1. pkg/kubelet/server/server_test.go

    	return f.portForwardFunc(podSandboxID, port, stream)
    }
    
    type testStreamingServer struct {
    	streaming.Server
    	fakeRuntime    *fakeRuntime
    	testHTTPServer *httptest.Server
    }
    
    func newTestStreamingServer(streamIdleTimeout time.Duration) (s *testStreamingServer, err error) {
    	s = &testStreamingServer{}
    	s.testHTTPServer = httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		s.ServeHTTP(w, r)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
Back to top