diff options
| author | Jonathan Amsterdam <jba@google.com> | 2020-08-27 11:25:38 -0400 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2020-08-27 16:59:41 +0000 |
| commit | 3e7bb508771f9cf630a1a44fd9988cc1c32cfce4 (patch) | |
| tree | ca56464c0d4ac9d9a2e170ea811464f059a0d776 /internal/queue/queue.go | |
| parent | 985ff2e276d51f7e6df8f0a8d9fdcdbb93444ba8 (diff) | |
| download | go-x-pkgsite-3e7bb508771f9cf630a1a44fd9988cc1c32cfce4.tar.xz | |
internal/config: add OnGCP
Add a method that reports whether the binary is on GCP. We use the
GAE_ENV env var to detect AppEngine, and an env var we'll set in the
k8s deployment manifest to detect GKE.
Change-Id: Ieb026461d978d3fa9e81dd4d84ed6af085ec3a1f
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/251058
Reviewed-by: Julie Qiu <julie@golang.org>
Diffstat (limited to 'internal/queue/queue.go')
0 files changed, 0 insertions, 0 deletions
