Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/kubernetes/client-go
/ Dial
Method
Dial
tools/portforward/portforward_test.go:39–42 ·
view source on GitHub ↗
(protocols ...string)
Source
from the content-addressed store, hash-verified
37
}
38
39
func
(d *fakeDialer) Dial(protocols ...string) (httpstream.Connection, string, error) {
40
d.dialed = true
41
return
d.conn, d.negotiatedProtocol, d.err
42
}
43
44
type
fakeConnection
struct
{
45
closed bool
Callers
1
ForwardPorts
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected