Dialer dials a Cloud SQL instance and returns its database engine version.
| 24 | |
| 25 | // Dialer dials a Cloud SQL instance and returns its database engine version. |
| 26 | type Dialer interface { |
| 27 | // Dial returns a connection to the specified instance. |
| 28 | Dial(ctx context.Context, inst string, opts ...cloudsqlconn.DialOption) (net.Conn, error) |
| 29 | // EngineVersion retrieves the provided instance's database version (e.g., |
| 30 | // POSTGRES_14) |
| 31 | EngineVersion(ctx context.Context, inst string) (string, error) |
| 32 | |
| 33 | io.Closer |
| 34 | } |
| 35 | |
| 36 | // Logger is the interface used throughout the project for logging. |
| 37 | type Logger interface { |
no outgoing calls
no test coverage detected