@@ -201,10 +201,11 @@ fields are a good example of fields that would be applied incorrectly using go
201
201
structs, e.g. `ContainerStatus.Ready` (required, not omitempty). Because of this
202
202
we cannot use the existing go structs to represent apply configurations.
203
203
204
- <<[UNRESOLVED @jpbetz @jennybuckley ]>>
205
- We also considered quite a few alternate representations for how apply
206
- configurations will be represented in go. See the [Alternatives](#alternatives)
207
- for a complete list. We are currently evaluating two leading alternatives:
204
+ <<[UNRESOLVED @jpbetz @jennybuckley ]>>
205
+ Finalize which alternative to use based on developer feedback. See the
206
+ [Alternatives](#alternatives) for a complete list, but are currently focusing on
207
+ the two below alternatives. We are working with the Kubebuilder community to
208
+ gather feedback on what developers prefer.
208
209
<<[/UNRESOLVED]>>
209
210
210
211
#### Alternative 1: Genreated structs where all fields are pointers
@@ -262,6 +263,10 @@ Example usage:
262
263
263
264
#### Comparison of alternatives
264
265
266
+ See https://github.com/kubernetes/kubernetes/pull/95988 for a working implementation
267
+ of alterative 1 and https://github.com/jpbetz/kubernetes/tree/apply-client-go-builders
268
+ for a working implementation of alternative 2.
269
+
265
270
Of the two leading alternatives--"builders" and "structs with pointers"--we implemented
266
271
prototypes of both. They had roughly equivalent performance, and no differences
267
272
in their capabilities. The choice between the two is primarily one of asthetics/ergonomics.
0 commit comments