grafana/vendor/golang.org/x/oauth2
Erik Sundell 934a8f08ae
Stackdriver: Project selector (#22447)
* clean PR #17366

* udpate vendor

* [WIP] Implement projects management for stackdriver

* [WIP] Implement projects management for stackdriver

* [WIP] Implement projects management for stackdriver

* Implement projects management for stackdriver

* [WIP][Tests] Fix errors

* clean anonymous struct

* remove await

* don't store project list

* Add default project on query editor

* gofmt

* Fix tests

* Move test data source to backend

* Use segment instead of dropdown. remove ensure default project since it's not being used anymore.

* Fix broken annotation editor

* Load gceDefaultAccount only once when in the config page

* Reset error message on auth type change

* Add metric find query for projects

* Remove debug code

* Fix broken tests

* Fix typings

* Fix lint error

* Slightly different approach - now having a distiction between config page default project, and project that is selectable from the dropdown in the query editor.

* Fix broken tests

* Attempt to fix strict ts errors

* Prevent state from being set multiple times

* Remove noOptionsMessage since it seems to be obosolete in react select

* One more attempt to solve ts strict error

* Interpolate project template variable. Make sure its loaded correctly when opening variable query editor first time

* Implicit any fix

* fix: typescript strict null check fixes

* Return empty array in case project endpoint fails

* Rename project to projectName to prevent clashing with legacy query prop

* Fix broken test

* fix: Stackdriver - template replace on filter label

should have a regex format as that escapes the dots
in the label name which is not valid.

Co-authored-by: Labesse Kévin <kevin@labesse.me>
Co-authored-by: Elias Cédric Laouiti <elias@abtasty.com>
Co-authored-by: Daniel Lee <dan.limerick@gmail.com>
2020-03-02 09:31:09 -05:00
..
google Stackdriver: Project selector (#22447) 2020-03-02 09:31:09 -05:00
internal replace dep with go modules (#16017) 2019-04-16 12:00:55 +02:00
jws GCS support via JSON API 2017-09-15 16:11:02 +02:00
jwt Stackdriver: Project selector (#22447) 2020-03-02 09:31:09 -05:00
AUTHORS tech(build): move dependencies to vendor folder 2016-09-14 16:14:27 +02:00
CONTRIBUTING.md replace dep with go modules (#16017) 2019-04-16 12:00:55 +02:00
CONTRIBUTORS tech(build): move dependencies to vendor folder 2016-09-14 16:14:27 +02:00
go.mod replace dep with go modules (#16017) 2019-04-16 12:00:55 +02:00
go.sum replace dep with go modules (#16017) 2019-04-16 12:00:55 +02:00
LICENSE migrate from govendor to dep 2018-01-19 09:48:15 +01:00
oauth2.go Stackdriver: Project selector (#22447) 2020-03-02 09:31:09 -05:00
README.md replace dep with go modules (#16017) 2019-04-16 12:00:55 +02:00
token.go replace dep with go modules (#16017) 2019-04-16 12:00:55 +02:00
transport.go replace dep with go modules (#16017) 2019-04-16 12:00:55 +02:00

OAuth2 for Go

Build Status GoDoc

oauth2 package contains a client implementation for OAuth 2.0 spec.

Installation

go get golang.org/x/oauth2

Or you can manually git clone the repository to $(go env GOPATH)/src/golang.org/x/oauth2.

See godoc for further documentation and examples.

Policy for new packages

We no longer accept new provider-specific packages in this repo. For defining provider endpoints and provider-specific OAuth2 behavior, we encourage you to create packages elsewhere. We'll keep the existing packages for compatibility.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the oauth2 repository is located at https://github.com/golang/oauth2/issues.