type graphPopulator … func AddGraphEventHandlers( graph *Graph, nodes corev1informers.NodeInformer, pods corev1informers.PodInformer, pvs corev1informers.PersistentVolumeInformer, attachments storageinformers.VolumeAttachmentInformer, slices resourceinformers.ResourceSliceInformer, ) { … } func (g *graphPopulator) addPod(obj interface{ … } func (g *graphPopulator) updatePod(oldObj, obj interface{ … } func (g *graphPopulator) deletePod(obj interface{ … } func (g *graphPopulator) addPV(obj interface{ … } func (g *graphPopulator) updatePV(oldObj, obj interface{ … } func (g *graphPopulator) deletePV(obj interface{ … } func (g *graphPopulator) addVolumeAttachment(obj interface{ … } func (g *graphPopulator) updateVolumeAttachment(oldObj, obj interface{ … } func (g *graphPopulator) deleteVolumeAttachment(obj interface{ … } func (g *graphPopulator) addResourceSlice(obj interface{ … } func (g *graphPopulator) deleteResourceSlice(obj interface{ … }