Expand description
Public embedding surface for the InfluxDB 3 plugin CLI.
PluginConfig is a clap-derived, semver-stable type intended to be
mounted as a subcommand variant by a host binary (e.g. influxdb_pro).
Schema-type re-exports route through this crate so embedding consumers
depend only on influxdb3-plugin-cli, preventing parser drift from a
parallel direct dependency on influxdb3-plugin-schemas.
Structs§
- Artifact
Hash - SHA-256 artifact hash, stored in the canonical form
sha256:<64 lowercase hex chars>. - Artifacts
Url - Registry artifact-base URL. Scheme is restricted to
https,http, orfile. - Dependencies
[dependencies]section of the manifest.- Description
- One-line plugin description. 1–200 characters.
- Field
Path - A dotted-and-indexed path identifying a field inside a parsed manifest or
index (e.g.,
plugin.name,plugins[3].dependencies.python[0]). Build by chaining fromFieldPath::root(). - Index
- A parsed plugin registry index.
- Index
Entry - One per-version entry inside an index’s
plugins[]array. - Index
Schema Version - The
index_schema_versiontop-level field. MirrorsManifestSchemaVersion: format<major>.<minor>, unsupported majors rejected. - Manifest
- A parsed plugin manifest.
- Manifest
Schema Version - The
manifest_schema_versiontop-level field, format<major>.<minor>. - Plugin
Config - Top-level embeddable CLI config for the
influxdb3-pluginbinary. - Plugin
Metadata [plugin]section of the manifest.- Plugin
Name - Validated plugin name matching
[a-zA-Z][a-zA-Z0-9_-]*(1-64 ASCII characters, starting with an ASCII letter). Case-preserving in storage. Windows reserved device names (con,prn,aux,nul,com0-9,lpt0-9) are rejected case-insensitively. Collisions inside a single index use the canonical form. - Python
Requirement - A PEP 508 Python package requirement string (e.g.,
requests>=2.31,<3). Validated for parseability at construction; stored in its canonical string form. - Reported
Error - A
SchemaErrorpaired with the field path at which it was detected. - Schema
Errors - Collection of
ReportedErrors returned byManifest::parse_tomlandIndex::parse_json.
Enums§
- Plugin
Id - Global plugin identity: the tuple
(source, name, version)wheresourceis either a registry URL or a local directory. TwoPluginIds are equal when all three components match. - Schema
Error - Errors produced during schema parsing and validation.
- Trigger
Type - Closed set of supported trigger types. Manifests are rejected if any trigger identifier is outside this set.