Documentation
¶
Overview ¶
Package runnerproto holds the Gitea Actions runner wire protocol (ping.v1 and runner.v1), vendored from gitea/actions-proto-def, and the Go code generated from it. See NOTICE.md for the pinned upstream commit.
The generators are pinned as tool directives in tools/protogen/go.mod and run only through `go tool`; nothing is fetched at a version. Regenerate with `go generate ./runnerproto`; CI fails when that changes a committed file.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package gate is the request filter shared by the runner-protocol services (ping.v1, runner.v1): everything but the one request gitea-runner v6.0.1 sends is refused with fixed text before connect reads a byte of the body.
|
Package gate is the request filter shared by the runner-protocol services (ping.v1, runner.v1): everything but the one request gitea-runner v6.0.1 sends is refused with fixed text before connect reads a byte of the body. |
|
gen
|
|
|
Package pingsvc implements ping.v1.PingService, the first call a gitea-runner makes when it registers (gitea.com/gitea/runner v6.0.1, internal/app/cmd/register.go:355).
|
Package pingsvc implements ping.v1.PingService, the first call a gitea-runner makes when it registers (gitea.com/gitea/runner v6.0.1, internal/app/cmd/register.go:355). |
|
Package regsvc serves Register and Declare of runner.v1.RunnerService, the two calls a gitea-runner makes before it fetches work (gitea.com/gitea/runner v6.0.1: Register at internal/app/cmd/register.go:379, Declare at internal/app/run/runner.go:891).
|
Package regsvc serves Register and Declare of runner.v1.RunnerService, the two calls a gitea-runner makes before it fetches work (gitea.com/gitea/runner v6.0.1: Register at internal/app/cmd/register.go:379, Declare at internal/app/run/runner.go:891). |
|
Package tokenstore holds the credentials of the runner protocol: registration tokens and runner tokens (design m5-runner-protocol.md, section 2).
|
Package tokenstore holds the credentials of the runner protocol: registration tokens and runner tokens (design m5-runner-protocol.md, section 2). |