Commit 23b29b2
committed
feat: Add controllers for namespaced MRs
- Use copystruct to copy API types
- Use generic wrapper to reuse existing cluster logic
- Use goverter to convert between cluster and namespace types
- Test everything by copying and minimally adapting cluster controller
tests
Signed-off-by: MisterMX <[email protected]>1 parent a407a43 commit 23b29b2
File tree
104 files changed
+22560
-525
lines changed- apis/namespace
- applicationsets/v1alpha1
- applications/v1alpha1
- cluster/v1alpha1
- projects/v1alpha1
- repositories/v1alpha1
- v1alpha1
- package/crds
- pkg
- clients
- cluster
- converter
- applicationsets
- applications
- mock
- interface
- applicationsets
- applications
- clusters
- cluster
- mock
- applicationsets
- applications
- cluster
- projects
- repositories
- projects
- repositories
- namespace
- converter
- applicationsets
- applications
- controller
- cluster
- applicationsets
- applications
- cluster
- config
- projects
- repositories
- tokens
- namespace
- applicationsets
- applications
- cluster
- config
- projects
- repositories
- tokens
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
104 files changed
+22560
-525
lines changedLines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
| 29 | + | |
23 | 30 | | |
24 | 31 | | |
25 | | - | |
26 | | - | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
30 | 35 | | |
31 | | - | |
32 | | - | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
38 | | - | |
| 43 | + | |
39 | 44 | | |
40 | 45 | | |
41 | 46 | | |
| |||
45 | 50 | | |
46 | 51 | | |
47 | 52 | | |
48 | | - | |
| 53 | + | |
49 | 54 | | |
50 | 55 | | |
51 | 56 | | |
| |||
0 commit comments