internal/

directory
v0.0.0-...-26bba4b Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: MIT

Directories

Path Synopsis
Package clock abstracts time so polling and retry code can be tested without real sleeps.
Package clock abstracts time so polling and retry code can be tested without real sleeps.
Package config parses environment variables and flags (DESIGN.md section 3).
Package config parses environment variables and flags (DESIGN.md section 3).
Package endpoints embeds the generated index of every Forgejo API operation (DESIGN.md section 9.5) and offers search and path matching over it.
Package endpoints embeds the generated index of every Forgejo API operation (DESIGN.md section 9.5) and offers search and path matching over it.
gen command
Command gen converts a Forgejo swagger.json into internal/endpoints/index.json.
Command gen converts a Forgejo swagger.json into internal/endpoints/index.json.
scope
Package scope derives the token scope category of an API operation.
Package scope derives the token scope category of an API operation.
Package forgejo is the HTTP client and API-level helpers (DESIGN.md sections 2, 5, 11).
Package forgejo is the HTTP client and API-level helpers (DESIGN.md sections 2, 5, 11).
Package format holds pure output helpers (DESIGN.md section 6).
Package format holds pure output helpers (DESIGN.md section 6).
Package gitremote detects the default owner/name from a git checkout (DESIGN.md section 3.1).
Package gitremote detects the default owner/name from a git checkout (DESIGN.md section 3.1).
Package testutil holds shared test helpers (DESIGN.md section 12.1).
Package testutil holds shared test helpers (DESIGN.md section 12.1).
Package tools is the tool framework: Spec/Action/Registry, schema generation, help, version gating and the Call context (DESIGN.md sections 2 and 4).
Package tools is the tool framework: Spec/Action/Registry, schema generation, help, version gating and the Call context (DESIGN.md sections 2 and 4).
actions
Package actions implements the `run` tool: Actions runs, jobs, logs, workflows, dispatch and artifacts (DESIGN.md sections 8.6 and 10.2).
Package actions implements the `run` tool: Actions runs, jobs, logs, workflows, dispatch and artifacts (DESIGN.md sections 8.6 and 10.2).
admin
Package admin implements the `admin` tool (DESIGN.md section 8.11).
Package admin implements the `admin` tool (DESIGN.md section 8.11).
all
Package all registers every tool area.
Package all registers every tool area.
ci
docgen command
Command docgen writes docs/TOOLS.md from the tool registry.
Command docgen writes docs/TOOLS.md from the tool registry.
packages
Package packages implements the `package` tool (DESIGN.md section 8.10).
Package packages implements the `package` tool (DESIGN.md section 8.10).
shared
Package shared holds helpers used by several tool areas (DESIGN.md sections 1, 3.1, 5.6, 5.7, 10.5).
Package shared holds helpers used by several tool areas (DESIGN.md sections 1, 3.1, 5.6, 5.7, 10.5).
shared/ci
Package ci holds the CI plumbing shared by the pr, checks, run, ci_failure and ci_wait tools (DESIGN.md sections 10.1-10.4).
Package ci holds the CI plumbing shared by the pr, checks, run, ci_failure and ci_wait tools (DESIGN.md sections 10.1-10.4).
shared/ci/wait
Package wait implements the server-side polling of section 10.1 (ci_wait and run dispatch wait=true).
Package wait implements the server-side polling of section 10.1 (ci_wait and run dispatch wait=true).

Jump to

Keyboard shortcuts

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