Directories
¶
| Path | Synopsis |
|---|---|
|
examples
|
|
|
resource-plugin
command
Command resource-plugin serves an immutable embedded notes provider.
|
Command resource-plugin serves an immutable embedded notes provider. |
|
internal
|
|
|
catalogadmission
Package catalogadmission owns SDK-only catalog observation storage and framing.
|
Package catalogadmission owns SDK-only catalog observation storage and framing. |
|
resourceconformance
Package resourceconformance is verification-only data and finite oracles.
|
Package resourceconformance is verification-only data and finite oracles. |
|
testutil
Package testutil contains shared SDK test fixtures, never runtime behavior.
|
Package testutil contains shared SDK test fixtures, never runtime behavior. |
|
Package log provides structured runtime logging with context enrichment, configurable severity thresholds, and pluggable output backends.
|
Package log provides structured runtime logging with context enrichment, configurable severity thresholds, and pluggable output backends. |
|
logtest
Package logtest provides an in-memory log sink for assertions.
|
Package logtest provides an in-memory log sink for assertions. |
|
pkg
|
|
|
config
Package config defines plugin manifests, host configuration, and artifact provenance.
|
Package config defines plugin manifests, host configuration, and artifact provenance. |
|
interceptors
Package interceptors supplies RPC recovery, logging, and diagnostic plugin-context extraction.
|
Package interceptors supplies RPC recovery, logging, and diagnostic plugin-context extraction. |
|
profilecontract
Package profilecontract owns the v1 read-only machine-local profile protocol.
|
Package profilecontract owns the v1 read-only machine-local profile protocol. |
|
profiling
Package profiling owns an explicitly enabled, loopback-only process profiler.
|
Package profiling owns an explicitly enabled, loopback-only process profiler. |
|
resource/v2
Package resourcev2 defines the handwritten, provider-neutral resource API.
|
Package resourcev2 defines the handwritten, provider-neutral resource API. |
|
resource/v2/plugin
Package plugin transports resource v2 providers over bounded, validated gRPC messages.
|
Package plugin transports resource v2 providers over bounded, validated gRPC messages. |
|
sdk
Package sdk composes plugin capabilities, connection-context transport, and process serving.
|
Package sdk composes plugin capabilities, connection-context transport, and process serving. |
|
state
Package state resolves SDK-owned application state.
|
Package state resolves SDK-owned application state. |
|
telemetry
Package telemetry configures process-wide tracing and optional profiling from host environment settings.
|
Package telemetry configures process-wide tracing and optional profiling from host environment settings. |
|
types
Package types defines shared plugin metadata, connection state, and request context values.
|
Package types defines shared plugin metadata, connection state, and request context values. |
|
utils
Package utils provides SDK state-store access, RPC middleware composition, and legacy encoding helpers.
|
Package utils provides SDK state-store access, RPC middleware composition, and legacy encoding helpers. |
|
utils/timeutil
Package timeutil provides shared time abstractions for deterministic testing.
|
Package timeutil provides shared time abstractions for deterministic testing. |
|
v1/command
Package command dispatches plugin-specific opaque command payloads through optional RPC transport.
|
Package command dispatches plugin-specific opaque command payloads through optional RPC transport. |
|
v1/exec
Package exec manages plugin terminal sessions, multiplexed input and output, and bounded output history for reconnecting clients.
|
Package exec manages plugin terminal sessions, multiplexed input and output, and bounded output history for reconnecting clients. |
|
v1/exec/exectest
Package exectest exercises exec managers with pipe-backed terminals and synchronized output recording.
|
Package exectest exercises exec managers with pipe-backed terminals and synchronized output recording. |
|
v1/lifecycle
Package lifecycle exposes plugin identity, declared capabilities, and process readiness over gRPC.
|
Package lifecycle exposes plugin identity, declared capabilities, and process readiness over gRPC. |
|
v1/logs
Package logs manages asynchronous log sessions, source discovery, and streaming.
|
Package logs manages asynchronous log sessions, source discovery, and streaming. |
|
v1/logs/logtest
Package logtest provides programmable log sources, output recorders, and a harness that exercises the real log manager with context-aware test streams.
|
Package logtest provides programmable log sources, output recorders, and a harness that exercises the real log manager with context-aware test streams. |
|
v1/metric
Package metric provides metric queries and subscription streams.
|
Package metric provides metric queries and subscription streams. |
|
v1/networker
Package networker manages resource and static port-forward sessions.
|
Package networker manages resource and static port-forward sessions. |
|
v1/networker/networktest
Package networktest provides forwarding fakes, session harnesses, and state observers for tests that exercise the real networker session manager.
|
Package networktest provides forwarding fakes, session harnesses, and state observers for tests that exercise the real networker session manager. |
|
v1/settings
Package settings adapts plugin preferences and validation to the v1 gRPC transport.
|
Package settings adapts plugin preferences and validation to the v1 gRPC transport. |
|
v1/tools
Package tools defines plugin tools, validates their descriptors, and exposes tool discovery and calls over the plugin gRPC transport.
|
Package tools defines plugin tools, validates their descriptors, and exposes tool discovery and calls over the plugin gRPC transport. |
|
Package settings provides synchronized in-memory preferences and user-safe validation.
|
Package settings provides synchronized in-memory preferences and user-safe validation. |
|
settingstest
Package settingstest provides test doubles for the settings.Provider interface.
|
Package settingstest provides test doubles for the settings.Provider interface. |
Click to show internal directories.
Click to hide internal directories.