Chao Xu
7b0ffb8410
make json serializer case sensitive
2018-06-14 12:29:27 -07:00
Dr. Stefan Schimanski
dc5866a781
conversions: don't mutate in.ObjectMeta.Annotations
2018-06-02 09:44:45 +00:00
David Eads
94e3d94d67
update tests to be specific about the versions they are testing instead of floating
2018-05-01 13:18:41 -04:00
Kubernetes Submit Queue
135d58b394
Merge pull request #57142 from nikhita/bump-jsoniter
...
Automatic merge from submit-queue (batch tested with PRs 57122, 57142, 57016, 56927, 56678). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
bump(13f864): github.com/json-iterator/go: use ConfigCompatibleWithStandardLibrary
Jsoniter in `ConfigFastest` mode does not support escape characters in object keys, whereas `ConfigCompatibleWithStandardLibrary` does.
Fixes kubernetes/kubernetes#56018
Related kubernetes/kubernetes#56055
Benchmark results:
```
BenchmarkDecodeIntoJSON-4 30000 48522 ns/op 3792 B/op 63 allocs/op
BenchmarkDecodeIntoJSONCodecGenConfigFast-4 100000 17409 ns/op 4524 B/op 96 allocs/op
BenchmarkDecodeIntoJSONCodecGenConfigCompatibleWithStandardLibrary-4 100000 18617 ns/op 4924 B/op 121 allocs/op
```
/assign sttts thockin mfojtik
2017-12-16 23:32:38 -08:00
Nikhita Raghunath
5da7b11a31
add benchmark for ConfigCompatibleWithStandardLibrary
2017-12-13 16:05:20 +05:30
linweibin
96a8ff6bd6
Remove unused code in pkg/api/,pkg/apis/
2017-12-07 13:35:47 +08:00
Dr. Stefan Schimanski
012b085ac8
pkg/apis/core: mechanical import fixes in dependencies
2017-11-09 12:14:08 +01:00
Dr. Stefan Schimanski
d13b936a2a
pkg/apis/core: fixup conversion func names in dependencies
2017-11-09 12:14:07 +01:00
Solly Ross
ef583aeed2
Fuzz label selectors
...
Previously, we did not have custom code for fuzzing label selectors.
Anything that used a label selector (like Scale) had to manually bypass
fuzzing the selector, or write its own fuzzer. This introduces a fuzzer
for label selectors which generates random correct selectors with random
keys and values.
2017-10-19 11:01:45 -04:00
Dr. Stefan Schimanski
7773a30f67
pkg/api/legacyscheme: fixup imports
2017-10-18 17:23:55 +02:00
Dr. Stefan Schimanski
b926ca40de
pkg/api: move *_test.go -> pkg/api/testing
2017-10-11 16:04:50 +02:00