![]() If the graph contains a virtual node (because some child object referenced it in an OwnerRef), and a real informer event is observed for that uid at different coordinates, we want to fix the coordinates of the node in the graph to match the actual coordinates. The safe way to do this is to clone the node, replace the identity in the clone, then replace the node with the clone. Modifying the identity directly is not safe because it is accessed lock-free from many code paths. Replacing the node in the graph from processGraphChanges is safe because it is the only graph writer. |
||
---|---|---|
.. | ||
config | ||
metaonly | ||
BUILD | ||
dump_test.go | ||
dump.go | ||
errors.go | ||
garbagecollector_test.go | ||
garbagecollector.go | ||
graph_builder.go | ||
graph.go | ||
operations.go | ||
OWNERS | ||
patch.go | ||
uid_cache.go |