woodpecker/server/api
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
..
debug Reorganize code into server/{api,grpc,shared} packages (#337) 2021-09-22 20:48:01 +02:00
metrics Reorganize code into server/{api,grpc,shared} packages (#337) 2021-09-22 20:48:01 +02:00
badge.go Refactor: move model/ to server/model/ (#366) 2021-09-27 19:51:55 +02:00
build.go Pass down context.Context (#371) 2021-09-28 12:56:59 +02:00
file.go Move package store/ to server/store/ (#341) 2021-09-23 13:33:59 +02:00
hook.go Pass down context.Context (#371) 2021-09-28 12:56:59 +02:00
login.go Refactor: move model/ to server/model/ (#366) 2021-09-27 19:51:55 +02:00
registry.go Refactor: move model/ to server/model/ (#366) 2021-09-27 19:51:55 +02:00
repo.go Pass down context.Context (#371) 2021-09-28 12:56:59 +02:00
secret.go Refactor: move model/ to server/model/ (#366) 2021-09-27 19:51:55 +02:00
stream.go Refactor: move model/ to server/model/ (#366) 2021-09-27 19:51:55 +02:00
user.go Pass down context.Context (#371) 2021-09-28 12:56:59 +02:00
users.go Refactor: move model/ to server/model/ (#366) 2021-09-27 19:51:55 +02:00
z.go Extend Logging & Report to WebHook Caller back if pulls are disabled (#369) 2021-09-27 23:32:08 +02:00