1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//! Crossplane CRD generator from `IaC` forge IR.
//!
//! Implements [`iac_forge::Backend`] to produce Kubernetes
//! `CustomResourceDefinition` YAML from the `iac-forge` intermediate
//! representation. Each [`IacResource`](iac_forge::ir::IacResource) becomes a
//! namespaced CRD with `forProvider` (input) and `atProvider` (output) specs,
//! plus standard Crossplane conditions and printer columns.
/// Backend trait implementation and naming convention.
/// Schema-driven body-field signatures pulled from the OpenAPI spec.
/// Drives M6.4 — `build_request_body` consults this to skip pushes
/// where the IacAttribute disagrees with the SDK body's field shape.
/// Crossplane controller Go-code emitter (per-resource ExternalClient impl).
/// CRD YAML generation helpers.
/// Per-package deepcopy emitter (`zz_generated_deepcopy.go`).
/// Per-Kind `managed.Resource` interface methods emitter
/// (`zz_generated_managed.go`).
/// Typed errors for CRD generation.
/// The Go **macro-farm** surface — typed, serde-serializable Go-codegen
/// specs ([`go_spec::GoSpec`]) that lower to [`go_synthesizer::GoFile`]
/// and render through [`go_synthesizer::print_file`]. The Go analog of
/// `tatara-rust-ast`'s `*DeriveSpec` family.
/// Provider-runtime scaffold emitter (ProviderConfig types, main.go,
/// setup.go, go.mod, Helm chart files).
/// Crossplane managed-resource Go-types emitter.
pub use CrossplaneBackend;
pub use ;
pub use CrdError;
pub use ;
pub use ;
pub use ;