planetscale-go icon indicating copy to clipboard operation
planetscale-go copied to clipboard

Go client library to access the PlanetScale API

Results 9 planetscale-go issues
Sort by recently updated
recently updated
newest added

If the API returns a 401, like if a bad token is passed into the client constructor, all errors will appear as `internal error, response body doesn't match error type...

Right now we need to parse the connection strings to find username and host. Since it is returning plain text as: ``` database: xxx username: yyyy host: zzzz password: sadad...

I have created a service token to create a new branch but I am getting "not found" when I use it. Same code is working with access token.

The only option seems to be using `pscale auth`, UI only generates service tokens. We're integrating cloud APIs to collect asset data at [Resmo](https://www.resmo.com) we normally prefer OAuth or API...

From within `planetscale/cli`, everything as far as reading a config file and yanking an access token out of the OS keyring is locked away in internal packages internal to the...

`POST /organizations/{organization}/databases/{database}/branches/{branch}/backups` endpoint to create a backup supports a body param for `name` that would be useful for Terraform providers to be able to use from planetscale-go. API reference for...

Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.19.0 to 0.20.0. Commits 84cb9f7 oauth2: fix typo in comment 4b7f0bd go.mod: update cloud.google.com/go/compute/metadata dependency e11eea8 microsoft: added DeviceAuthURL to AzureADEndpoint See full diff in compare view...

dependencies

Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.21.0 to 0.22.0. Commits 6d8340f LICENSE: update per Google Legal See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/oauth2&package-manager=go_modules&previous-version=0.21.0&new-version=0.22.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR...

dependencies

Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.31.0 to 0.32.0. Commits 792c877 oauth2: use strings.Builder instead of bytes.Buffer See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/oauth2&package-manager=go_modules&previous-version=0.31.0&new-version=0.32.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this...

dependencies
go