Documentation
¶
Overview ¶
Package externalprobe is the importable form of the reference charly plugin: it serves the `externalprobe` check verb (pb.ProviderServer) and its self-contained CUE schema (pb.PluginMetaServer.Describe), usable in BOTH placements with zero authoring change — compiled INTO charly in-process (charly imports this package and registers NewProvider()/NewMeta() via the generated plugins_generated.go) OR served OUT-OF-PROCESS by the cmd/serve shim through sdk.Serve. One provider, two placements: the schema travels with the plugin over Describe either way, so the host validates authored plugin_input against base ++ this schema identically.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMeta ¶
func NewMeta() pb.PluginMetaServer
NewMeta ships the plugin's capabilities AND its self-contained CUE schema via sdk.NewMeta → BuildCapabilities — compiled standalone, failing loudly if broken/empty.
func NewProvider ¶
func NewProvider() pb.ProviderServer
NewProvider returns the verb provider for in-proc registration or out-of-proc serving.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
serve
command
Command serve is the OUT-OF-PROCESS entrypoint for the externalprobe plugin: a thin shim that serves the importable provider over go-plugin gRPC.
|
Command serve is the OUT-OF-PROCESS entrypoint for the externalprobe plugin: a thin shim that serves the importable provider over go-plugin gRPC. |