├── .envrc.example ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug_report.yaml │ ├── documentation_issue.yaml │ ├── feature_request.yaml │ └── question.yaml ├── blunderbuss.yml ├── flakybot.yaml ├── header-checker-lint.yml ├── labels.yml ├── release-please.yml ├── renovate.json5 ├── trusted-contribution.yml └── workflows │ ├── codeql.yml │ ├── cover.yaml │ ├── govulncheck.yaml │ ├── labels.yaml │ ├── lint.yaml │ ├── scorecard.yml │ └── tests.yaml ├── .gitignore ├── .golangci.yml ├── CHANGELOG.md ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── SECURITY.md ├── credentials_test.go ├── database_sql_public_ip_test.go ├── database_sql_test.go ├── debug └── debug.go ├── dialer.go ├── dialer_test.go ├── direct_database_sql_test.go ├── direct_pgxpool_test.go ├── doc.go ├── docs └── images │ └── alloydb-go-connector.png ├── driver ├── pgxv4 │ └── postgres.go └── pgxv5 │ └── postgres.go ├── e2e_test.go ├── errtype ├── errors.go └── errors_test.go ├── go.mod ├── go.sum ├── internal ├── alloydb │ ├── instance.go │ ├── instance_test.go │ ├── lazy.go │ ├── lazy_test.go │ ├── refresh.go │ ├── refresh_test.go │ └── static.go ├── mock │ ├── alloydb.go │ └── alloydbadmin.go └── tel │ ├── doc.go │ ├── metrics.go │ ├── metrics_test.go │ ├── trace.go │ └── v2 │ ├── tel.go │ └── tel_test.go ├── key_gen_test.go ├── metrics_test.go ├── options.go ├── options_test.go ├── pgxpool_psc_test.go ├── pgxpool_public_ip_test.go ├── pgxpool_test.go └── version.txt /.envrc.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.envrc.example -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @GoogleCloudPlatform/alloydb-connectors-code-owners 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/ISSUE_TEMPLATE/bug_report.yaml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/documentation_issue.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/ISSUE_TEMPLATE/documentation_issue.yaml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/ISSUE_TEMPLATE/feature_request.yaml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/question.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/ISSUE_TEMPLATE/question.yaml -------------------------------------------------------------------------------- /.github/blunderbuss.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/blunderbuss.yml -------------------------------------------------------------------------------- /.github/flakybot.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/flakybot.yaml -------------------------------------------------------------------------------- /.github/header-checker-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/header-checker-lint.yml -------------------------------------------------------------------------------- /.github/labels.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/labels.yml -------------------------------------------------------------------------------- /.github/release-please.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/release-please.yml -------------------------------------------------------------------------------- /.github/renovate.json5: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/renovate.json5 -------------------------------------------------------------------------------- /.github/trusted-contribution.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/trusted-contribution.yml -------------------------------------------------------------------------------- /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.github/workflows/cover.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/workflows/cover.yaml -------------------------------------------------------------------------------- /.github/workflows/govulncheck.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/workflows/govulncheck.yaml -------------------------------------------------------------------------------- /.github/workflows/labels.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/workflows/labels.yaml -------------------------------------------------------------------------------- /.github/workflows/lint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/workflows/lint.yaml -------------------------------------------------------------------------------- /.github/workflows/scorecard.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/workflows/scorecard.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.github/workflows/tests.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # IDEs 2 | .vscode/ 3 | .idea/ 4 | 5 | # direnv 6 | .envrc 7 | -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/.golangci.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/SECURITY.md -------------------------------------------------------------------------------- /credentials_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/credentials_test.go -------------------------------------------------------------------------------- /database_sql_public_ip_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/database_sql_public_ip_test.go -------------------------------------------------------------------------------- /database_sql_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/database_sql_test.go -------------------------------------------------------------------------------- /debug/debug.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/debug/debug.go -------------------------------------------------------------------------------- /dialer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/dialer.go -------------------------------------------------------------------------------- /dialer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/dialer_test.go -------------------------------------------------------------------------------- /direct_database_sql_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/direct_database_sql_test.go -------------------------------------------------------------------------------- /direct_pgxpool_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/direct_pgxpool_test.go -------------------------------------------------------------------------------- /doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/doc.go -------------------------------------------------------------------------------- /docs/images/alloydb-go-connector.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/docs/images/alloydb-go-connector.png -------------------------------------------------------------------------------- /driver/pgxv4/postgres.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/driver/pgxv4/postgres.go -------------------------------------------------------------------------------- /driver/pgxv5/postgres.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/driver/pgxv5/postgres.go -------------------------------------------------------------------------------- /e2e_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/e2e_test.go -------------------------------------------------------------------------------- /errtype/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/errtype/errors.go -------------------------------------------------------------------------------- /errtype/errors_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/errtype/errors_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/go.sum -------------------------------------------------------------------------------- /internal/alloydb/instance.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/internal/alloydb/instance.go -------------------------------------------------------------------------------- /internal/alloydb/instance_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/internal/alloydb/instance_test.go -------------------------------------------------------------------------------- /internal/alloydb/lazy.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/internal/alloydb/lazy.go -------------------------------------------------------------------------------- /internal/alloydb/lazy_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/internal/alloydb/lazy_test.go -------------------------------------------------------------------------------- /internal/alloydb/refresh.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/internal/alloydb/refresh.go -------------------------------------------------------------------------------- /internal/alloydb/refresh_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/internal/alloydb/refresh_test.go -------------------------------------------------------------------------------- /internal/alloydb/static.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/internal/alloydb/static.go -------------------------------------------------------------------------------- /internal/mock/alloydb.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/internal/mock/alloydb.go -------------------------------------------------------------------------------- /internal/mock/alloydbadmin.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/internal/mock/alloydbadmin.go -------------------------------------------------------------------------------- /internal/tel/doc.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/internal/tel/doc.go -------------------------------------------------------------------------------- /internal/tel/metrics.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/internal/tel/metrics.go -------------------------------------------------------------------------------- /internal/tel/metrics_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/internal/tel/metrics_test.go -------------------------------------------------------------------------------- /internal/tel/trace.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/internal/tel/trace.go -------------------------------------------------------------------------------- /internal/tel/v2/tel.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/internal/tel/v2/tel.go -------------------------------------------------------------------------------- /internal/tel/v2/tel_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/internal/tel/v2/tel_test.go -------------------------------------------------------------------------------- /key_gen_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/key_gen_test.go -------------------------------------------------------------------------------- /metrics_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/metrics_test.go -------------------------------------------------------------------------------- /options.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/options.go -------------------------------------------------------------------------------- /options_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/options_test.go -------------------------------------------------------------------------------- /pgxpool_psc_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/pgxpool_psc_test.go -------------------------------------------------------------------------------- /pgxpool_public_ip_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/pgxpool_public_ip_test.go -------------------------------------------------------------------------------- /pgxpool_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GoogleCloudPlatform/alloydb-go-connector/HEAD/pgxpool_test.go -------------------------------------------------------------------------------- /version.txt: -------------------------------------------------------------------------------- 1 | 1.17.0 2 | --------------------------------------------------------------------------------