matching

package module
v0.0.0-...-462aa4d Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package matching is the importable form of charly's `matching` check verb: pure in-process value matching (no target probe) — it coerces plugin_input.matching to a string and asserts every plugin_input.contains goss-style matcher against it. A STATELESS provider (no live *Runner needed), so it serves itself over the pb Invoke envelope in BOTH placements with zero authoring change — COMPILED INTO charly in-process (NewProvider()/NewMeta() via plugins_generated.go) OR served OUT-OF-PROCESS over go-plugin gRPC by the cmd/serve shim. Relocated out of charly's module (formerly charly/plugin/builtins/matching + charly/plugin_matching.go); the matcher evaluation reuses the SHARED sdk helpers (sdk.MatchAll / sdk.MatchValueString — the single matcher implementation, R3).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMeta

func NewMeta() pb.PluginMetaServer

NewMeta advertises verb:matching + the plugin's self-contained CUE schema (via sdk.NewMeta → BuildCapabilities), compiled standalone and 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 matching plugin: a thin shim serving the importable provider over go-plugin gRPC.
Command serve is the OUT-OF-PROCESS entrypoint for the matching plugin: a thin shim serving the importable provider over go-plugin gRPC.

Jump to

Keyboard shortcuts

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