MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/cloud-sql-proxy / instance

Method instance

cmd/root_test.go:1353–1358  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1351}
1352
1353func (s *spyDialer) instance() string {
1354 s.mu.Lock()
1355 defer s.mu.Unlock()
1356 i := s.got
1357 return i
1358}
1359
1360func (*spyDialer) Dial(_ context.Context, _ string, _ ...cloudsqlconn.DialOption) (net.Conn, error) {
1361 return nil, errors.New("spy dialer does not dial")

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected