MCPcopy
hub / github.com/kubernetes/client-go / nextRequestID

Method nextRequestID

tools/portforward/portforward.go:314–320  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

312}
313
314func (pf *PortForwarder) nextRequestID() int {
315 pf.requestIDLock.Lock()
316 defer pf.requestIDLock.Unlock()
317 id := pf.requestID
318 pf.requestID++
319 return id
320}
321
322// handleConnection copies data between the local connection and the stream to
323// the remote server.

Callers 1

handleConnectionMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected