apiserver/pkg/registry/generic
Tim Hockin cf0112f87e REST: Document mutable inputs on Create()
If one doesn't DeepCopy() on the way into Create, we can end up writing
into the original object.  This is by design, and should not be a
problem EXCEPT for tests.  If a test compares the input to this function
with the result, but the input was mutated in-situ, it may hide errors,
resulting in tests that pass, but shouldn't.

Kubernetes-commit: 6dfae64d9bebb2c40680bbd6e8270f69839ab013
2021-08-13 11:54:00 -07:00
..
registry REST: Document mutable inputs on Create() 2021-08-13 11:54:00 -07:00
rest Fix staticcheck failures for vendor/k8s.io/apiserver/pkg/registry/generic 2021-02-27 03:25:24 -05:00
testing Remove etcd2 storage backend 2018-10-01 16:48:14 -04:00
OWNERS *: remove nikhiljindal from OWNERS 2021-02-16 10:50:50 +05:30
doc.go Mechanical fixup imports: pkg/genericapiserver 2017-02-13 07:36:41 -05:00
matcher.go Mechanical move: pkg/genericapiserver -> k8s.io/apiserver 2017-02-13 07:36:41 -05:00
options.go apiserver: add callback to get notified of object count 2021-07-14 16:44:34 -04:00
storage_decorator.go Pipe newFunc to etcd3 storage layer 2020-08-31 11:58:45 +02:00