woodpecker/server/remote
6543 e3499f610d
Pass down context.Context (#371)
* pass context down to remote clients

* make tests work

* add ctx to Refresh() and use it

* bitbucketserver

* code format

* plugin interface: add todo context

* solve todo

* RM TODO by using context.WithTimeout

* refactor & fix

* Apply suggestions from code review

Co-authored-by: Anbraten <anton@ju60.de>

* go fmt

* Update server/remote/coding/coding.go

Co-authored-by: Anbraten <anton@ju60.de>

Co-authored-by: Anbraten <anton@ju60.de>
2021-09-28 12:56:59 +02:00
..
bitbucket Pass down context.Context (#371) 2021-09-28 12:56:59 +02:00
bitbucketserver Pass down context.Context (#371) 2021-09-28 12:56:59 +02:00
coding Pass down context.Context (#371) 2021-09-28 12:56:59 +02:00
gitea Pass down context.Context (#371) 2021-09-28 12:56:59 +02:00
github Pass down context.Context (#371) 2021-09-28 12:56:59 +02:00
gitlab Pass down context.Context (#371) 2021-09-28 12:56:59 +02:00
gitlab3 Pass down context.Context (#371) 2021-09-28 12:56:59 +02:00
gogs Pass down context.Context (#371) 2021-09-28 12:56:59 +02:00
mocks Pass down context.Context (#371) 2021-09-28 12:56:59 +02:00
context.go Refactor: move remote/ to server/remote/ (#344) 2021-09-23 18:25:51 +02:00
errors.go Refactor: move remote/ to server/remote/ (#344) 2021-09-23 18:25:51 +02:00
remote.go Pass down context.Context (#371) 2021-09-28 12:56:59 +02:00