apiserver/pkg/storage
Steve Kuznetsov 1501fbd930 storage: etcd: use cmp.Diff for comparisons
This commit simply modernizes the comparisons made in the storage tests
to use `cmp.Diff()` so that pointer comparisons and length checks do not
have to be made by hand. We also get nice diffs in the test output this
way instead of large pasted blobs.

Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>

Kubernetes-commit: dfdd486f09321e9105fa747a8d1ac5a9a2a7a94a
2022-02-17 07:55:49 -08:00
..
cacher Unify merge GetToList and List storage methods to single GetList 2022-02-10 10:15:29 +01:00
errors fix golint failures in staging/src/k8s.io/apiserver/pkg/storage/errors, staging/src/k8s.io/apiserver/pkg/storage/etcd 2019-02-28 15:51:05 +08:00
etcd3 storage: etcd: use cmp.Diff for comparisons 2022-02-17 07:55:49 -08:00
names specify pod name and hostname in indexed job 2021-04-29 03:33:36 +00:00
storagebackend OWNERS cleanup - Jan 2021 Week 1 2022-01-03 10:59:47 -05:00
testing OWNERS cleanup - Jan 2021 Week 1 2022-01-03 10:59:47 -05:00
tests Unify merge GetToList and List storage methods to single GetList 2022-02-10 10:15:29 +01:00
value storage: transformers: pass a context.Context 2022-02-17 07:29:44 -08:00
OWNERS OWNERS cleanup - Jan 2021 Week 1 2022-01-03 10:59:47 -05:00
doc.go move pkg/storage to apiserver 2017-02-01 07:33:52 -05:00
errors.go Fix bug in reflector not recovering from "Too large resource version" errors 2020-06-26 09:45:29 +02:00
interfaces.go Unify merge GetToList and List storage methods to single GetList 2022-02-10 10:15:29 +01:00
selection_predicate.go validate storage cache indexers 2020-02-05 12:08:14 +08:00
selection_predicate_test.go Fix staticcheck failures 2021-04-02 12:23:30 +08:00
util.go Simplify trigger functions in cacher 2019-07-04 14:21:06 +02:00
util_test.go move cacher in separate dir 2018-05-30 20:44:31 +08:00