As of 2024-02-13, this repository is deprecated and no longer actively maintained. We recommend using official cloud-sql-proxy as a replacement.
- No new features or bug fixes will be implemented.
- Issues and pull requests may not be addressed.
- The repository may be archived in the future.
Thank you for your support!
Go clone of proxie cli for Node.js.
goproxie version
to print the version- Use default
goproxie
to start interactive wizard - Use
goproxie history
to pick a used proxy settings - Use
goproxie use
to interactively select and set your default GCP project.-project
flag available. - Use
goproxie -project=... -cluster=...
for non-interactive mode, see--help
for all the options available
- Make sure you have Go,
kubectl
andgcloud
installed. - Authorize
gcloud
to access the Cloud Platform with Google user credentials:
gcloud auth login
gcloud auth application-default login
-
Get goproxie:
a) Build from source
go get -u github.com/AckeeCZ/goproxie
This will download the source and compile the executable
$GOPATH/bin/goproxie
. Make sure$GOPATH/bin
is in your$PATH
.b) Download latest executable for macOS, Windows, Linux here
Run all tests
go test ./...
See coverage
go test ./... -v -coverprofile=coverage.out && go tool cover -html=coverage.out
- add a new git version tag , prefixed with
v
, e.g.v12.34.56
- set it based on last tag and respect Semantic Versioning
- goproxie will incorporate this tag in it's
version
command during release step when tags are pushed