MCPcopy
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
39func (d *fakeDialer) Dial(protocols ...string) (httpstream.Connection, string, error) {
40 d.dialed = true
41 return d.conn, d.negotiatedProtocol, d.err
42}
43
44type fakeConnection struct {
45 closed bool

Callers 1

ForwardPortsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected