k3s/pkg/api/rest
k8s-merge-robot db62715c65 Merge pull request #26240 from liggitt/wrap-updated-object
Automatic merge from submit-queue

Add WrapUpdatedObjectInfo helper

This makes it easier to attach checks/transformations to the updated object in storage Update functions, while still keeping the data flow intact (so admission, patch, and other injected checks continue to work as intended), without needing to do anything tricky to get the updated object out of the UpdatedObjectInfo introduced in https://github.com/kubernetes/kubernetes/pull/25787

This is especially useful when one storage is delegating to another, but wants its checks to be run in the heart of the eventual GuaranteedUpdate call.
2016-06-25 04:44:40 -07:00
..
resttest Change rest storage Update interface to retrieve updated object 2016-05-23 21:09:26 -04:00
create.go Remove runtime.Typer, reduce to ObjectKinds(1) (3) 2016-05-21 23:55:42 -04:00
delete.go Vet fixes, mostly pass lock by value errors. 2016-04-06 11:27:40 -07:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
export.go Add a server side export facility 2015-12-16 15:01:13 -08:00
rest.go Change rest storage Update interface to retrieve updated object 2016-05-23 21:09:26 -04:00
types.go Move service strategy to registry/service package 2015-11-02 19:56:03 +08:00
update.go Add WrapUpdatedObjectInfo helper 2016-05-24 22:35:19 -04:00