pkg/

directory
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2026 License: Apache-2.0

Directories

Path Synopsis
Package plugin is the SDK every plugin binary and the host share: the handshake, the protocol versions, the lifecycle every kind answers (health, start, stop, notify), the logger and the process rules.
Package plugin is the SDK every plugin binary and the host share: the handshake, the protocol versions, the lifecycle every kind answers (health, start, stop, notify), the logger and the process rules.
evalout
Package evalout guards where an eval command writes what real calls returned.
Package evalout guards where an eval command writes what real calls returned.
manifest
Package manifest reads and validates a plugin's plugin.toml: its id, the kinds its binary serves, the protocol version it speaks and one table per kind, whose contents the kind's SDK package defines and decodes.
Package manifest reads and validates a plugin's plugin.toml: its id, the kinds its binary serves, the protocol version it speaks and one table per kind, whose contents the kind's SDK package defines and decodes.
manifest/cmd/manifestdoc command
Command manifestdoc writes plugin.toml's JSON schema and reference page from package manifest; make docs-ref runs it from the repository root.
Command manifestdoc writes plugin.toml's JSON schema and reference page from package manifest; make docs-ref runs it from the repository root.
pb
plugintest
Package plugintest is the in-process fake of a plugin process, for tests on either side of the protocol.
Package plugintest is the in-process fake of a plugin process, for tests on either side of the protocol.
source
Package source is the SDK of the source kind: a plugin that reports units of work from a service (pull requests, threads) and acts on them.
Package source is the SDK of the source kind: a plugin that reports units of work from a service (pull requests, threads) and acts on them.
source/sourcetest
Package sourcetest runs source plugins in-process, for tests on either side of the source protocol: Stub is a source that reports a scripted snapshot, and Launch connects any source to a host over a real go-plugin connection inside the test binary.
Package sourcetest runs source plugins in-process, for tests on either side of the source protocol: Stub is a source that reports a scripted snapshot, and Launch connects any source to a host over a real go-plugin connection inside the test binary.
store
Package store is a plugin's own SQLite database, in the state directory the host gives it at start: opened with the plugin's migrations, and filled once from the import.db the host's store migration exported for it.
Package store is a plugin's own SQLite database, in the state directory the host gives it at start: opened with the plugin's migrations, and filled once from the import.db the host's store migration exported for it.

Jump to

Keyboard shortcuts

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