You are viewing development documentation built from the latest commit on main (last tag v0.2.0-rc.2, source commit 25e1a892).
APIs and features are subject to change.
API Reference
Kure’s public API is organized into focused packages. Each package README below is auto-synced from the source code.
For full Go API documentation, see pkg.go.dev/github.com/go-kure/kure .
Core Domain
| Package | Description | Reference |
|---|---|---|
| Stack | Cluster, Node, Bundle, Application domain model | pkg.go.dev |
| Stack Test Helpers | Generation-contract checks for ApplicationConfig authors | pkg.go.dev |
| Flux Engine | FluxCD workflow implementation | pkg.go.dev |
| Layout Engine | Manifest directory organization | pkg.go.dev |
Resource Operations
| Package | Description | Reference |
|---|---|---|
| IO | YAML/JSON serialization and resource printing | pkg.go.dev |
| Manifest Classification | CRD recognition and object scope classification | pkg.go.dev |
| Kubernetes Builders | Generic constructor, per-kind wrappers and sugar helpers for core Kubernetes and Gateway API kinds; the builder contract | pkg.go.dev |
| Cert-Manager Builders | cert-manager CRD constructors (Certificate, Issuer, ClusterIssuer) | pkg.go.dev |
| Cilium Builders | Cilium CRD constructors (network policies and related resources) | pkg.go.dev |
| CloudNativePG Builders | CloudNativePG and Barman Cloud CRD constructors | pkg.go.dev |
| External Secrets Builders | External Secrets Operator constructors (ExternalSecret, SecretStore) | pkg.go.dev |
| FluxCD Builders | Low-level Flux resource constructors | pkg.go.dev |
| MetalLB Builders | MetalLB constructors (IPAddressPool, L2Advertisement) | pkg.go.dev |
| Prometheus Builders | Prometheus Operator CRD constructors (ServiceMonitor, PodMonitor, PrometheusRule) | pkg.go.dev |
| VolSync Builders | VolSync backup/restore CRD constructors | pkg.go.dev |
| MariaDB Builders | MariaDB operator CRD constructors (MariaDB, backups, restores, SQL objects) | pkg.go.dev |
| VictoriaMetrics Builders | VictoriaMetrics operator constructors (VMSingle, VMAgent, VMAlert) | pkg.go.dev |
Utilities
| Package | Description | Reference |
|---|---|---|
| Errors | Structured error types | pkg.go.dev |
| Logger | Structured logging | pkg.go.dev |
| Versions | Supported-version metadata for infrastructure dependencies | pkg.go.dev |
Compatibility
- Compatibility Matrix - Supported Kubernetes and dependency versions
- Kinds and Field Maturity - Every registered kind with its scope, and every field the pinned sources gate or deprecate
ArgoCD
ArgoCD support exists at pkg/stack/argocd/ but is not yet production-ready. It is not featured in guides or examples. The Flux workflow is the primary supported GitOps integration.