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

Function WithDialer

cmd/options.go:31–35  ·  view source on GitHub ↗

WithDialer configures the Command to use the provided dialer to connect to Cloud SQL instances.

(d cloudsql.Dialer)

Source from the content-addressed store, hash-verified

29// WithDialer configures the Command to use the provided dialer to connect to
30// Cloud SQL instances.
31func WithDialer(d cloudsql.Dialer) Option {
32 return func(c *Command) {
33 c.dialer = d
34 }
35}
36
37// WithFuseDir mounts a directory at the path using FUSE to access Cloud SQL
38// instances.

Callers 8

TestCommandOptionsFunction · 0.85
TestPProfServerFunction · 0.85
TestQuitQuitQuitHTTPPostFunction · 0.85
TestQuitQuitQuitHTTPGetFunction · 0.85
TestSdNotifyOnLinuxFunction · 0.85

Calls

no outgoing calls

Tested by 8

TestCommandOptionsFunction · 0.68
TestPProfServerFunction · 0.68
TestQuitQuitQuitHTTPPostFunction · 0.68
TestQuitQuitQuitHTTPGetFunction · 0.68
TestSdNotifyOnLinuxFunction · 0.68