Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
aicr
command
|
|
|
aicrd
command
|
|
|
pkg
|
|
|
bom
Package bom builds CycloneDX 1.6 software bills-of-materials describing the container images AICR can deploy.
|
Package bom builds CycloneDX 1.6 software bills-of-materials describing the container images AICR can deploy. |
|
build
Package build defines the BuildSpec schema and the load / validate / write-back primitives used by the build pipeline.
|
Package build defines the BuildSpec schema and the load / validate / write-back primitives used by the build pipeline. |
|
bundler
Package bundler provides orchestration for generating deployment bundles from recipes.
|
Package bundler provides orchestration for generating deployment bundles from recipes. |
|
bundler/attestation
Package attestation provides bundle attestation using Sigstore keyless signing.
|
Package attestation provides bundle attestation using Sigstore keyless signing. |
|
bundler/checksum
Package checksum provides SHA256 checksum generation for bundle verification.
|
Package checksum provides SHA256 checksum generation for bundle verification. |
|
bundler/config
Package config provides configuration options for bundler implementations.
|
Package config provides configuration options for bundler implementations. |
|
bundler/deployer
Package deployer defines the shared interface and types for bundle deployers.
|
Package deployer defines the shared interface and types for bundle deployers. |
|
bundler/deployer/argocd
Package argocd provides Argo CD Application generation for recipes.
|
Package argocd provides Argo CD Application generation for recipes. |
|
bundler/deployer/argocdhelm
Package argocdhelm generates a Helm chart app-of-apps for Argo CD with dynamic install-time values.
|
Package argocdhelm generates a Helm chart app-of-apps for Argo CD with dynamic install-time values. |
|
bundler/deployer/flux
Package flux provides Flux manifest generation for AICR recipes.
|
Package flux provides Flux manifest generation for AICR recipes. |
|
bundler/deployer/helm
Package helm generates per-component Helm bundles from recipe results.
|
Package helm generates per-component Helm bundles from recipe results. |
|
bundler/deployer/helmfile
Package helmfile generates a helmfile.yaml release graph from a configured recipe.
|
Package helmfile generates a helmfile.yaml release graph from a configured recipe. |
|
bundler/deployer/localformat
Package localformat writes the uniform numbered local-chart bundle layout.
|
Package localformat writes the uniform numbered local-chart bundle layout. |
|
bundler/registry
Package registry provides thread-safe registration and retrieval of bundler implementations.
|
Package registry provides thread-safe registration and retrieval of bundler implementations. |
|
bundler/result
Package result provides types for tracking bundle generation results.
|
Package result provides types for tracking bundle generation results. |
|
bundler/types
Package types defines the type system for bundler implementations.
|
Package types defines the type system for bundler implementations. |
|
bundler/verifier
Package verifier implements offline bundle verification with a four-level trust model.
|
Package verifier implements offline bundle verification with a four-level trust model. |
|
cli
Package cli implements the command-line interface for the AICR aicr tool.
|
Package cli implements the command-line interface for the AICR aicr tool. |
|
client/v1
Package aicr is the stable, public Go library surface for external consumers of the AI Cluster Runtime.
|
Package aicr is the stable, public Go library surface for external consumers of the AI Cluster Runtime. |
|
collector
Package collector provides interfaces and implementations for collecting system configuration data.
|
Package collector provides interfaces and implementations for collecting system configuration data. |
|
collector/file
Package file provides a configurable parser for line-oriented configuration files (e.g., /etc/default/grub, /etc/os-release, /proc/sys entries).
|
Package file provides a configurable parser for line-oriented configuration files (e.g., /etc/default/grub, /etc/os-release, /proc/sys entries). |
|
collector/gpu
Package gpu collects GPU hardware and driver configuration data using a two-phase detection model.
|
Package gpu collects GPU hardware and driver configuration data using a two-phase detection model. |
|
collector/k8s
Package k8s collects Kubernetes cluster configuration data.
|
Package k8s collects Kubernetes cluster configuration data. |
|
collector/os
Package os collects operating system configuration data.
|
Package os collects operating system configuration data. |
|
collector/systemd
Package systemd collects systemd service configuration data.
|
Package systemd collects systemd service configuration data. |
|
collector/talos
Package talos provides Talos-specific collector implementations used in place of the systemd D-Bus and /proc-based OS collectors when the recipe criteria declares os: talos.
|
Package talos provides Talos-specific collector implementations used in place of the systemd D-Bus and /proc-based OS collectors when the recipe criteria declares os: talos. |
|
component
Package component provides shared bundler utilities used by pkg/bundler and its deployers.
|
Package component provides shared bundler utilities used by pkg/bundler and its deployers. |
|
config
Package config defines the AICRConfig file schema accepted by the aicr CLI's --config flag on the snapshot, recipe, bundle, and validate commands.
|
Package config defines the AICRConfig file schema accepted by the aicr CLI's --config flag on the snapshot, recipe, bundle, and validate commands. |
|
constraints
Package constraints parses and evaluates constraint expressions (e.g.
|
Package constraints parses and evaluates constraint expressions (e.g. |
|
defaults
Package defaults provides centralized configuration constants for the AICR system.
|
Package defaults provides centralized configuration constants for the AICR system. |
|
diff
Package diff compares AICR snapshots to detect configuration drift.
|
Package diff compares AICR snapshots to detect configuration drift. |
|
errors
Package errors provides structured error types for better observability and programmatic error handling across the application.
|
Package errors provides structured error types for better observability and programmatic error handling across the application. |
|
evidence
Package evidence is an umbrella for AICR's evidence kinds.
|
Package evidence is an umbrella for AICR's evidence kinds. |
|
evidence/attestation
Package attestation implements the recipe-test-attestation evidence kind defined in ADR-007 (docs/design/007-recipe-evidence.md).
|
Package attestation implements the recipe-test-attestation evidence kind defined in ADR-007 (docs/design/007-recipe-evidence.md). |
|
evidence/cncf
Package cncf renders CNCF AI Conformance evidence markdown from CTRF reports.
|
Package cncf renders CNCF AI Conformance evidence markdown from CTRF reports. |
|
evidence/verifier
Package verifier implements `aicr evidence verify`: offline verification of a recipe-evidence v1 bundle produced by `aicr validate --emit-attestation`.
|
Package verifier implements `aicr evidence verify`: offline verification of a recipe-evidence v1 bundle produced by `aicr validate --emit-attestation`. |
|
fingerprint
Package fingerprint extracts a structured cluster identity from a snapshot's collector measurements and compares it against a recipe's criteria.
|
Package fingerprint extracts a structured cluster identity from a snapshot's collector measurements and compares it against a recipe's criteria. |
|
header
Package header provides common header types for AICR data structures.
|
Package header provides common header types for AICR data structures. |
|
helm
Package helm provides shared Helm chart rendering utilities used by both the mirror image discovery pipeline and the BOM generator.
|
Package helm provides shared Helm chart rendering utilities used by both the mirror image discovery pipeline and the BOM generator. |
|
helm/helmtest
Package helmtest provides test helpers for consumers of pkg/helm.
|
Package helmtest provides test helpers for consumers of pkg/helm. |
|
k8s
Package k8s provides Kubernetes integration for AI Cluster Runtime.
|
Package k8s provides Kubernetes integration for AI Cluster Runtime. |
|
k8s/agent
Package agent provides Kubernetes Job deployment for automated snapshot capture.
|
Package agent provides Kubernetes Job deployment for automated snapshot capture. |
|
k8s/client
Package client provides a singleton Kubernetes client for efficient cluster interactions.
|
Package client provides a singleton Kubernetes client for efficient cluster interactions. |
|
k8s/pod
Package pod provides shared utilities for Kubernetes Job and Pod operations.
|
Package pod provides shared utilities for Kubernetes Job and Pod operations. |
|
logging
Package logging provides structured logging utilities for AICR components.
|
Package logging provides structured logging utilities for AICR components. |
|
manifest
Package manifest provides Helm-compatible template rendering for manifest files.
|
Package manifest provides Helm-compatible template rendering for manifest files. |
|
measurement
Package measurement provides types and utilities for collecting, comparing, and filtering system measurements from various sources (Kubernetes, GPU, OS, SystemD).
|
Package measurement provides types and utilities for collecting, comparing, and filtering system measurements from various sources (Kubernetes, GPU, OS, SystemD). |
|
mirror
Package mirror discovers container images and Helm charts referenced by a recipe and emits the list in formats consumable by air-gap tools (Hauler, Zarf) and general-purpose formats (JSON, YAML).
|
Package mirror discovers container images and Helm charts referenced by a recipe and emits the list in formats consumable by air-gap tools (Hauler, Zarf) and general-purpose formats (JSON, YAML). |
|
oci
Package oci provides functionality for packaging and pushing artifacts to OCI-compliant registries.
|
Package oci provides functionality for packaging and pushing artifacts to OCI-compliant registries. |
|
recipe
Package recipe provides recipe building and matching functionality.
|
Package recipe provides recipe building and matching functionality. |
|
recipe/oskind
Package oskind is the single source of truth for the string values of the OS recipe criterion.
|
Package oskind is the single source of truth for the string values of the OS recipe criterion. |
|
serializer
Package serializer provides encoding and decoding of measurement data in multiple formats.
|
Package serializer provides encoding and decoding of measurement data in multiple formats. |
|
server
Package server implements the aicrd HTTP server: the AICR System Configuration Recommendation API defined in api/aicr/v1/server.yaml.
|
Package server implements the aicrd HTTP server: the AICR System Configuration Recommendation API defined in api/aicr/v1/server.yaml. |
|
snapshotter
Package snapshotter captures comprehensive system configuration snapshots.
|
Package snapshotter captures comprehensive system configuration snapshots. |
|
trust
Package trust manages Sigstore trusted root material for offline attestation verification.
|
Package trust manages Sigstore trusted root material for offline attestation verification. |
|
validator
Package validator evaluates a recipe's constraints and validation checks against a cluster snapshot and the live cluster.
|
Package validator evaluates a recipe's constraints and validation checks against a cluster snapshot and the live cluster. |
|
validator/catalog
Package catalog provides the declarative validator catalog.
|
Package catalog provides the declarative validator catalog. |
|
validator/ctrf
Package ctrf provides Go types and utilities for the Common Test Report Format (CTRF).
|
Package ctrf provides Go types and utilities for the Common Test Report Format (CTRF). |
|
validator/labels
Package labels provides shared label constants for validation resources.
|
Package labels provides shared label constants for validation resources. |
|
validator/v1
Package v1 defines AICR's validator input format (v1alpha1).
|
Package v1 defines AICR's validator input format (v1alpha1). |
|
version
Package version provides semantic version parsing and comparison with flexible precision support.
|
Package version provides semantic version parsing and comparison with flexible precision support. |
|
tests
|
|
|
chainsaw/ai-conformance
command
ai-conformance-check parses Chainsaw assertion YAML files and verifies that every declared resource exists in the target Kubernetes cluster.
|
ai-conformance-check parses Chainsaw assertion YAML files and verifies that every declared resource exists in the target Kubernetes cluster. |
|
tools
|
|
|
bom
command
Command bom renders every Helm chart in recipes/registry.yaml at its pinned version and emits a CycloneDX 1.6 JSON BOM plus a Markdown summary listing every container image AICR can deploy.
|
Command bom renders every Helm chart in recipes/registry.yaml at its pinned version and emits a CycloneDX 1.6 JSON BOM plus a Markdown summary listing every container image AICR can deploy. |
|
Package validators provides shared utilities for v2 validator containers.
|
Package validators provides shared utilities for v2 validator containers. |
|
chainsaw
Package chainsaw executes Chainsaw-style assertions against a live Kubernetes cluster.
|
Package chainsaw executes Chainsaw-style assertions against a live Kubernetes cluster. |
|
conformance
command
conformance is a validator container for all conformance phase checks.
|
conformance is a validator container for all conformance phase checks. |
|
deployment
command
deployment is a validator container for all deployment phase checks.
|
deployment is a validator container for all deployment phase checks. |
|
helper
Package helper provides shared utilities for v2 validator containers.
|
Package helper provides shared utilities for v2 validator containers. |
|
performance
command
performance is a validator container for all performance phase checks.
|
performance is a validator container for all performance phase checks. |
Click to show internal directories.
Click to hide internal directories.