Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kubernetes/client-go
/ fakeConnection
Struct
fakeConnection
tools/portforward/portforward_test.go:44–47 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
42
}
43
44
type
fakeConnection
struct
{
45
closed bool
46
closeChan
chan
bool
47
}
48
49
func
newFakeConnection() httpstream.Connection {
50
return
&fakeConnection{
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected