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

Method Wait

tests/common_test.go:93–100  ·  view source on GitHub ↗

Waits until the execution is completed and returns any error.

(ctx context.Context)

Source from the content-addressed store, hash-verified

91
92// Waits until the execution is completed and returns any error.
93func (p *ProxyExec) Wait(ctx context.Context) error {
94 select {
95 case <-ctx.Done():
96 return ctx.Err()
97 case <-p.done:
98 return p.err
99 }
100}
101
102// Done returns true if the proxy has exited.
103func (p *ProxyExec) Done() bool {

Callers 3

CheckConnectionsMethod · 0.80
waitForFUSEMountsMethod · 0.80
TestVersionFunction · 0.80

Calls 1

DoneMethod · 0.80

Tested by

no test coverage detected