runnerproto

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2026 License: BSD-3-Clause Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL