Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for HandleWS (0.12 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go

    			}
    			if isWatchListLatencyRecordingRequired {
    				metrics.RecordWatchListLatency(req.Context(), s.Scope.Resource, s.metricsScope)
    			}
    		}
    	}
    }
    
    // HandleWS serves a series of encoded events over a websocket connection.
    func (s *WatchServer) HandleWS(ws *websocket.Conn) {
    	defer func() {
    		if s.MemoryAllocator != nil {
    			runtime.AllocatorPool.Put(s.MemoryAllocator)
    		}
    	}()
    
    	defer ws.Close()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 14 16:37:25 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top