MCPcopy Index your code
hub / github.com/GoogleCloudPlatform/cloud-sql-proxy / Close

Method Close

tests/common_test.go:113–118  ·  view source on GitHub ↗

Close releases any resources associated with the instance.

()

Source from the content-addressed store, hash-verified

111
112// Close releases any resources associated with the instance.
113func (p *ProxyExec) Close() {
114 p.cancel()
115 for _, c := range p.closers {
116 c.Close()
117 }
118}
119
120// WaitForServe waits until the proxy ready to serve traffic by waiting for a
121// known log message (i.e. "ready for new connections"). Returns any output

Callers 3

TestVersionFunction · 0.45
proxyConnTestWithReadyFunction · 0.45
testHealthCheckFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected