kubernetes/pkg/controller/garbagecollector
Patrick Ohly cbf7d96a85 garbagecollector: structured logging of objectReference
When using JSON as output format, we want objectReference values to be
represented as a struct. For example, "item" is such a value:

{"ts":1678135015708.349,"caller":"garbagecollector/garbagecollector.go:595","msg":"classify object references","v":5,"item":{"name":"dra-test-driver-g4tkd","namespace":"dra-1830","apiVersion":"v1","uid":"c3f88616-7282-488c-887c-3f04291e6f4f"},"solid":null,"dangling":[{"apiVersion":"apps/v1","kind":"ReplicaSet","name":"dra-test-driver","uid":"dbe9a90c-9dfd-4ad0-8395-e5fa228f9851","controller":true,"blockOwnerDeletion":true}],"waitingForDependentsDeletion":null}
2023-03-08 08:37:56 -05:00
..
config pkg/controller: Replace deprecated func usage from the k8s.io/utils/pointer pkg 2022-11-23 17:40:23 +02:00
metaonly generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
metrics add gc metrics and collect sync errors 2022-02-04 20:21:30 +01:00
testdata Reimplement GC dot graph dumping without gonum library 2022-09-23 13:12:33 -04:00
dump_test.go Reimplement GC dot graph dumping without gonum library 2022-09-23 13:12:33 -04:00
dump.go Reimplement GC dot graph dumping without gonum library 2022-09-23 13:12:33 -04:00
errors.go
garbagecollector_test.go garbagecollector: use contextual logging 2023-03-08 08:37:56 -05:00
garbagecollector.go garbagecollector: use contextual logging 2023-03-08 08:37:56 -05:00
graph_builder_test.go Add GC unit tests 2020-11-17 10:49:32 -05:00
graph_builder.go garbagecollector: use contextual logging 2023-03-08 08:37:56 -05:00
graph.go garbagecollector: structured logging of objectReference 2023-03-08 08:37:56 -05:00
operations.go garbagecollector: use contextual logging 2023-03-08 08:37:56 -05:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
patch.go fix: 81134: fix unsafe json for ReleaseControllerRevision (#104049) 2021-11-05 06:33:52 -07:00
uid_cache.go Switch GC absentOwnerCache to full reference 2020-11-17 10:42:48 -05:00