Commit 7d429f9
committed
:warn: Fakeclient: Add apply support
This change adds apply support into the fake client.
This relies on the upstream support for this which is implemented in a
new [FieldManagedObjectTracker][0]. In order to support many types, a
custom `multiTypeConverter` is added.
[0]: https://github.com/kubernetes/kubernetes/blob/4dc7a48ac6fb631a84e1974772bf7b8fd0bb9c59/staging/src/k8s.io/client-go/testing/fixture.go#L6431 parent d6126d8 commit 7d429f9
File tree
4 files changed
+336
-36
lines changed- pkg/client/fake
4 files changed
+336
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
35 | 37 | | |
36 | 38 | | |
37 | 39 | | |
| |||
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
99 | | - | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
0 commit comments