• k8s-merge-robot's avatar
    Merge pull request #26240 from liggitt/wrap-updated-object · db62715c
    k8s-merge-robot authored
    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.
    db62715c
Name
Last commit
Last update
..
resttest Loading commit data...
create.go Loading commit data...
delete.go Loading commit data...
doc.go Loading commit data...
export.go Loading commit data...
rest.go Loading commit data...
types.go Loading commit data...
update.go Loading commit data...