Commit dd7e870
committed
refactor: APIs-first architecture with unified config and fabrica.Metadata
- Eliminate pkg/resources/ and apis/ redundancy in versioned mode
- Merge apis.yaml into .fabrica.yaml (single config)
- Add fabrica.Metadata type alias for cleaner imports
- New commands: `fabrica add version`, versioned `fabrica init`
- Generator discovers resources from apis/<group>/<storage-version>/
- Complete example 8 rewrite with working project structure
- Flattened envelope: explicit APIVersion, Kind, Metadata fields
Breaking: Versioned projects now define types directly, no generation
Signed-off-by: Alex Lovell-Troy <alex@lovelltroy.org>1 parent 6ccca11 commit dd7e870
File tree
20 files changed
+2179
-428
lines changed- .reuse
- cmd/fabrica
- examples/08-api-versioning
- apis/infra.example.io
- v1alpha1
- v1beta1
- v1
- cmd/server
- internal/storage
- pkg/fabrica
20 files changed
+2179
-428
lines changedThis file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
0 commit comments