pkg/

directory
v3.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2026 License: MIT

Directories

Path Synopsis
Package capability turns a bundle's OpenAPI interface into executable agent tools: it derives tool descriptors from operations (BuildTools) and invokes the live service (Invoke).
Package capability turns a bundle's OpenAPI interface into executable agent tools: it derives tool descriptors from operations (BuildTools) and invokes the live service (Invoke).
Package contract defines the core data model for Pacto v2.0 service contracts: the in-memory representation of a pacto.yaml and the types for service identity, interfaces, dependencies, configurations, policies, state, capabilities, and readiness.
Package contract defines the core data model for Pacto v2.0 service contracts: the in-memory representation of a pacto.yaml and the types for service identity, interfaces, dependencies, configurations, policies, state, capabilities, and readiness.
Package dashboard serves the Pacto dashboard: a REST API and web UI that aggregates contract and runtime data from multiple sources — Kubernetes (via the operator), OCI registries, local directories, and on-disk cache — into a single view of a service fleet.
Package dashboard serves the Pacto dashboard: a REST API and web UI that aggregates contract and runtime data from multiple sources — Kubernetes (via the operator), OCI registries, local directories, and on-disk cache — into a single view of a service fleet.
Package diff compares two versioned contracts and classifies each change as non-breaking, potentially breaking, or breaking to downstream consumers.
Package diff compares two versioned contracts and classifies each change as non-breaking, potentially breaking, or breaking to downstream consumers.
Package doc generates Markdown documentation from a dashboard service snapshot and serves it as rendered HTML.
Package doc generates Markdown documentation from a dashboard service snapshot and serves it as rendered HTML.
Package evidence defines the Option A observation model: a discriminated Observation carrying an Outcome and a single json.RawMessage payload set iff Outcome == Observed.
Package evidence defines the Option A observation model: a discriminated Observation carrying an Outcome and a single json.RawMessage payload set iff Outcome == Observed.
Package finding defines the typed result of Pacto engine reasoning.
Package finding defines the typed result of Pacto engine reasoning.
Package graph builds and traverses a service's dependency graph.
Package graph builds and traverses a service's dependency graph.
Package ignore implements .pactoignore filtering for bundle packaging.
Package ignore implements .pactoignore filtering for bundle packaging.
Package lock models pacto.lock: the committed, deterministic record of the resolved dependency + reference closure.
Package lock models pacto.lock: the committed, deterministic record of the resolved dependency + reference closure.
Package logging builds slog loggers and carries one on a context, so app and library code log through a per-invocation logger instead of the process-global slog default.
Package logging builds slog loggers and carries one on a context, so app and library code log through a per-invocation logger instead of the process-global slog default.
Package oci stores and retrieves Pacto contract bundles in OCI registries.
Package oci stores and retrieves Pacto contract bundles in OCI registries.
Package openapi parses OpenAPI specs (YAML or JSON) into a flat list of endpoints.
Package openapi parses OpenAPI specs (YAML or JSON) into a flat list of endpoints.
Package override merges values into a contract's YAML from CLI flags.
Package override merges values into a contract's YAML from CLI flags.
Package plugin discovers and executes out-of-process Pacto plugins.
Package plugin discovers and executes out-of-process Pacto plugins.
Package readiness derives operational readiness state from a contract's declared readiness section.
Package readiness derives operational readiness state from a contract's declared readiness section.
Package sbom provides SBOM parsing and diffing for Pacto bundles.
Package sbom provides SBOM parsing and diffing for Pacto bundles.
Package schemax extracts human-readable property summaries from JSON Schema documents and configuration value maps.
Package schemax extracts human-readable property summaries from JSON Schema documents and configuration value maps.
Package semver is the single source of truth for semver tag handling shared by the CLI/OCI resolver and the dashboard data sources.
Package semver is the single source of truth for semver tag handling shared by the CLI/OCI resolver and the dashboard data sources.
Package skills reads a bundle's optional domain-knowledge documents (skills/*.md): workflows, business rules, and operational guidance that an interface alone cannot express.
Package skills reads a bundle's optional domain-knowledge documents (skills/*.md): workflows, business rules, and operational guidance that an interface alone cannot express.
Package validation checks a contract across three layers — structural (JSON Schema), cross-field consistency, and policy enforcement — and reports errors and warnings.
Package validation checks a contract across three layers — structural (JSON Schema), cross-field consistency, and policy enforcement — and reports errors and warnings.

Jump to

Keyboard shortcuts

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