commit | e7359e45c30b88947cd6c6aa04843254e0a1d66c | [log] [tgz] |
---|---|---|
author | WhiteSource Renovate <bot@renovateapp.com> | Mon Oct 26 20:52:04 2020 +0100 |
committer | GitHub <noreply@github.com> | Mon Oct 26 19:52:04 2020 +0000 |
tree | d017fc114779bf57851036578e64af743b1cf73c | |
parent | 022355a0af98e118d85c1ca2c7fa56c9b5788a82 [diff] |
chore(all): update all (#3081) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/google/pprof](https://togithub.com/google/pprof) | require | digest | `8ef5528` -> `3e6fc7f` | | [golang.org/x/net](https://togithub.com/golang/net) | require | digest | `f585440` -> `146b70c` | | [google.golang.org/grpc](https://togithub.com/grpc/grpc-go) | require | minor | `v1.32.0` -> `v1.33.1` | | [google.golang.org/grpc](https://togithub.com/grpc/grpc-go) | require | patch | `v1.33.0` -> `v1.33.1` | --- ### Release Notes <details> <summary>grpc/grpc-go</summary> ### [`v1.33.1`](https://togithub.com/grpc/grpc-go/releases/v1.33.1) [Compare Source](https://togithub.com/grpc/grpc-go/compare/v1.32.0...v1.33.1) ##### API Changes - connectivity: remove unused, experimental Reporter interface ([#​3875](https://togithub.com/grpc/grpc-go/issues/3875)) ##### New Features - xds bootstrap: support insecure and make Creds required ([#​3881](https://togithub.com/grpc/grpc-go/issues/3881)) - xds: add bootstrap support for certificate providers. ([#​3901](https://togithub.com/grpc/grpc-go/issues/3901)) - lrs: add a layer for clusters in load store ([#​3880](https://togithub.com/grpc/grpc-go/issues/3880)) - credentials/xds: implementation of client-side xDS credentials. ([#​3888](https://togithub.com/grpc/grpc-go/issues/3888)) ##### Bug Fixes - http2_client: fix reader segfault on PROTOCOL_ERRORs ([#​3926](https://togithub.com/grpc/grpc-go/issues/3926)) - Special Thanks: [@​sorah](https://togithub.com/sorah) - internal/transport: handle h2 errcode on header decoding ([#​3872](https://togithub.com/grpc/grpc-go/issues/3872)) - Special Thanks: [@​tz70s](https://togithub.com/tz70s) - xds: exit from run() goroutine when resolver is closed. ([#​3882](https://togithub.com/grpc/grpc-go/issues/3882)) - credentials/alts: ClientAuthorizationCheck to case-fold compare of peer SA ([#​3792](https://togithub.com/grpc/grpc-go/issues/3792)) - Special Thanks: [@​AntonNep](https://togithub.com/AntonNep) - service reflection: include transitive closure for a file ([#​3851](https://togithub.com/grpc/grpc-go/issues/3851)) - stats: include message header in stats.InPayload.WireLength ([#​3886](https://togithub.com/grpc/grpc-go/issues/3886)) - Special Thanks: [@​xstephen95x](https://togithub.com/xstephen95x) - binarylog: export Sink ([#​3879](https://togithub.com/grpc/grpc-go/issues/3879)) - service reflection: include transitive closure for a file ([#​3851](https://togithub.com/grpc/grpc-go/issues/3851)) </details> --- ### Renovate configuration :date: **Schedule**: "before 3am on Monday" (UTC). :vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied. :recycle: **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. :ghost: **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/config-help/issues) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/google-cloud-go).
Go packages for Google Cloud Platform services.
import "cloud.google.com/go"
To install the packages on your system, do not clone the repo. Instead:
Change to your project directory:
cd /my/cloud/project
Get the package you want to use. Some products have their own module, so it's best to go get
the package(s) you want to use:
$ go get cloud.google.com/go/firestore # Replace with the package you want to use.
NOTE: Some of these packages are under development, and may occasionally make backwards-incompatible changes.
NOTE: Github repo is a mirror of https://code.googlesource.com/gocloud.
Alpha status: the API is still being actively developed. As a result, it might change in backward-incompatible ways and is not recommended for production use.
Beta status: the API is largely complete, but still has outstanding features and bugs to be addressed. There may be minor backwards-incompatible changes where necessary.
Stable status: the API is mature and ready for production use. We will continue addressing bugs and feature requests.
Documentation and examples are available at pkg.go.dev/cloud.google.com/go
We currently support Go versions 1.11 and newer.
By default, each API will use Google Application Default Credentials for authorization credentials used in calling the API endpoints. This will allow your application to run in many environments without requiring explicit configuration.
client, err := storage.NewClient(ctx)
To authorize using a JSON key file, pass option.WithCredentialsFile
to the NewClient
function of the desired package. For example:
client, err := storage.NewClient(ctx, option.WithCredentialsFile("path/to/keyfile.json"))
You can exert more control over authorization by using the golang.org/x/oauth2
package to create an oauth2.TokenSource
. Then pass option.WithTokenSource
to the NewClient
function: snip:# (auth-ts)
tokenSource := ...
client, err := storage.NewClient(ctx, option.WithTokenSource(tokenSource))
Contributions are welcome. Please, see the CONTRIBUTING document for details.
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Contributor Code of Conduct for more information.