woodpecker/cmd/agent
Jacob Floyd bfb9af121c
Create agent/ package for backend agnostic logic (#338)
* Refactor: Move agent stats structs to agent/

Based in part on changes by laszlocph (kube branch):
7f4a0c8c12 Factor into Runner
f7fe9edd0b Using Runner in server

* Refactor: Add Runner constructor with counter field

Based in part on changes by laszlocph (kube branch):
7f4a0c8c12 Factor into Runner
f7fe9edd0b Using Runner in server

* Refactor: Move Runner to agent/ package

Based in part on changes by laszlocph (kube branch):
7f4a0c8c12 Factor into Runner
f7fe9edd0b Using Runner in server

* Refactor: pass pipeline.backend.Engine into agent.Runner

Based in part on changes by laszlocph (kube branch):
7f4a0c8 Factor into Runner
f7fe9ed Using Runner in server

* Use well-known function signature for WriteTo

* Rename stats.go -> state.go

Co-authored-by: Anbraten <anton@ju60.de>
2021-09-23 16:58:12 +02:00
..
agent.go Create agent/ package for backend agnostic logic (#338) 2021-09-23 16:58:12 +02:00
flags.go Rename cmd agent and server folders and binaries (#330) 2021-09-21 17:06:13 +02:00
health.go Create agent/ package for backend agnostic logic (#338) 2021-09-23 16:58:12 +02:00
health_test.go Create agent/ package for backend agnostic logic (#338) 2021-09-23 16:58:12 +02:00
main.go Rename cmd agent and server folders and binaries (#330) 2021-09-21 17:06:13 +02:00
signal.go Rename cmd agent and server folders and binaries (#330) 2021-09-21 17:06:13 +02:00