agola/internal/services/gateway/api
Simone Gotti 4d7605a86b gateway: improve ErrFromRemote handling
Don't create an ErrFromRemote wrapping the returned error but
wrap the ErrFromRemote

Also use xerrors Is/As to get the underlying error to return to api clients
while maintaining context for logging
2019-05-23 12:59:11 +02:00
..
api.go gateway: improve ErrFromRemote handling 2019-05-23 12:59:11 +02:00
badge.go gateway: add badges endpoint 2019-05-10 11:08:24 +02:00
client.go *: migrate to "golang.org/x/xerrors" 2019-05-23 11:23:14 +02:00
oauth2.go gateway: move remaining user logic from api to actions 2019-05-05 14:45:19 +02:00
org.go *: migrate to "golang.org/x/xerrors" 2019-05-23 11:23:14 +02:00
project.go gateway api: return project visibility 2019-05-12 23:23:30 +02:00
projectgroup.go *: migrate to "golang.org/x/xerrors" 2019-05-23 11:23:14 +02:00
remoterepo.go *: migrate to "golang.org/x/xerrors" 2019-05-23 11:23:14 +02:00
remotesource.go *: migrate to "golang.org/x/xerrors" 2019-05-23 11:23:14 +02:00
repos.go */api: Use helpers for error handling 2019-04-09 14:53:00 +02:00
run.go *: migrate to "golang.org/x/xerrors" 2019-05-23 11:23:14 +02:00
secret.go gateway: move secret logic from api to actions 2019-05-05 14:11:29 +02:00
user.go *: migrate to "golang.org/x/xerrors" 2019-05-23 11:23:14 +02:00
variable.go service: move gateway/common to common 2019-05-15 09:38:27 +02:00