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. |
|
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. |
|
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. |
Click to show internal directories.
Click to hide internal directories.