Directories
¶
| Path | Synopsis |
|---|---|
|
Package config loads and validates clawpatrol's HCL gateway config.
|
Package config loads and validates clawpatrol's HCL gateway config. |
|
extplugin
Package extplugin spawns and proxies clawpatrol's Terraform-style external plugins.
|
Package extplugin spawns and proxies clawpatrol's Terraform-style external plugins. |
|
extplugin/wire
Package wire holds the small set of protocol constants shared between the gateway-side plugin manager (extplugin) and the plugin SDK (pluginsdk): the go-plugin handshake, the dispensed plugin name, the host-services broker stream id, and the per-call session metadata key.
|
Package wire holds the small set of protocol constants shared between the gateway-side plugin manager (extplugin) and the plugin SDK (pluginsdk): the go-plugin handshake, the dispensed plugin name, the host-services broker stream id, and the per-call session metadata key. |
|
facet
Package facet is the registry for protocol-family plugins.
|
Package facet is the registry for protocol-family plugins. |
|
hostmatch
Package hostmatch parses and matches the host entries that appear in an endpoint's `hosts = [...]` list.
|
Package hostmatch parses and matches the host entries that appear in an endpoint's `hosts = [...]` list. |
|
match
Package match holds the runtime types the request handler walks when dispatching against the compiled policy: the Matcher interface every rule's compiled predicate satisfies and the family-tagged Request snapshot the matcher reads.
|
Package match holds the runtime types the request handler walks when dispatching against the compiled policy: the Matcher interface every rule's compiled predicate satisfies and the family-tagged Request snapshot the matcher reads. |
|
plugins/all
Package all blank-imports every built-in plugin so a single import from main / tests pulls the entire registry into the binary.
|
Package all blank-imports every built-in plugin so a single import from main / tests pulls the entire registry into the binary. |
|
plugins/approvers
Package approvers registers every built-in approver kind.
|
Package approvers registers every built-in approver kind. |
|
plugins/credentials
Package credentials implements clawpatrol credentials support.
|
Package credentials implements clawpatrol credentials support. |
|
plugins/endpoints
Package endpoints registers every built-in endpoint plugin.
|
Package endpoints registers every built-in endpoint plugin. |
|
plugins/facets/https
Package https is the HTTPS protocol-family facet.
|
Package https is the HTTPS protocol-family facet. |
|
plugins/facets/k8s
Package k8s is the Kubernetes protocol-family facet.
|
Package k8s is the Kubernetes protocol-family facet. |
|
plugins/facets/sql
Package sql is the SQL protocol-family facet.
|
Package sql is the SQL protocol-family facet. |
|
plugins/facets/ssh
Package ssh is the SSH protocol-family facet.
|
Package ssh is the SSH protocol-family facet. |
|
plugins/rules
Package rules registers the single `rule` block kind.
|
Package rules registers the single `rule` block kind. |
|
plugins/sshproto
Package sshproto holds the protocol-specific contract that bridges the SSH endpoint plugin and the SSH credential plugin.
|
Package sshproto holds the protocol-specific contract that bridges the SSH endpoint plugin and the SSH credential plugin. |
|
plugins/tailscaleproto
Package tailscaleproto holds the protocol-specific contract that bridges the tailscale credential and the tailscale tunnel (plus the dashboard Connect modal).
|
Package tailscaleproto holds the protocol-specific contract that bridges the tailscale credential and the tailscale tunnel (plus the dashboard Connect modal). |
|
plugins/tunnels
Package tunnels hosts the built-in tunnel plugins.
|
Package tunnels hosts the built-in tunnel plugins. |
|
runtime
Package runtime hosts the request-time dispatcher and the plugin runtime interfaces.
|
Package runtime hosts the request-time dispatcher and the plugin runtime interfaces. |
|
Package sandbox confines external plugin subprocesses.
|
Package sandbox confines external plugin subprocesses. |
|
sandboxtest
Package sandboxtest holds test helpers for code that spawns sandboxed plugin subprocesses.
|
Package sandboxtest holds test helpers for code that spawns sandboxed plugin subprocesses. |
|
tools
|
|
|
docgen
command
Command docgen generates site/doc/config-reference.md from the clawpatrol HCL config plugin registry.
|
Command docgen generates site/doc/config-reference.md from the clawpatrol HCL config plugin registry. |
|
docgen/internal/render
Package render builds the auto-generated HCL config reference from the live plugin registry plus Go-source comments.
|
Package render builds the auto-generated HCL config reference from the live plugin registry plus Go-source comments. |
Click to show internal directories.
Click to hide internal directories.