WithDialer configures the Command to use the provided dialer to connect to Cloud SQL instances.
(d cloudsql.Dialer)
| 29 | // WithDialer configures the Command to use the provided dialer to connect to |
| 30 | // Cloud SQL instances. |
| 31 | func 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. |
no outgoing calls