Commit a078d90
committed
Refactor: Remove unused files and implement versioning support
- Deleted go.sum.license and storage.go files as they are no longer needed.
- Enhanced code generation to support versioned projects by introducing a new `IsVersioned` flag.
- Updated handler templates to differentiate between versioned and legacy modes for resource creation, updates, and deletions.
- Added resource prefix registration to ensure proper UID generation for versioned resources.
- Improved event publishing logic to accommodate versioned resources.
Signed-off-by: Alex Lovell-Troy <alovelltroy@lanl.gov>1 parent c471927 commit a078d90
File tree
17 files changed
+323
-1296
lines changed- cmd/fabrica
- examples/08-api-versioning
- apis/infra.example.io
- v1alpha1
- v1beta1
- v1
- cmd/server
- internal/storage
- pkg/codegen
- templates
- init
- server
17 files changed
+323
-1296
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
119 | 124 | | |
120 | 125 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
133 | 132 | | |
134 | 133 | | |
135 | 134 | | |
| |||
152 | 151 | | |
153 | 152 | | |
154 | 153 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
| 154 | + | |
| 155 | + | |
161 | 156 | | |
162 | 157 | | |
163 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
108 | 113 | | |
109 | 114 | | |
110 | 115 | | |
| |||
511 | 516 | | |
512 | 517 | | |
513 | 518 | | |
514 | | - | |
| 519 | + | |
515 | 520 | | |
516 | 521 | | |
517 | 522 | | |
| |||
This file was deleted.
0 commit comments