func (spi *SecurityProfileInformer) onUpdate(old *v1.SecurityProfile, new *v1.SecurityProfile) {
	// If this SecurityProfile is used locally, update in in the kernel hashmaps
	spi.Nsp.DispatchEvent(&model.SecurityProfileUpdatedEvent{
		EventBase: model.EventBase{
			EventType:        model.SecurityProfileUpdatedType,
			EventMonitorName: model.SecurityProfileInformerMonitor,
			Timestamp:        time.Now(),
		},
		Old: old,
		New: new,
	})
}
// onUpdate - SecurityProfile update handler
SecurityProfile update handler
// onUpdate - SecurityProfile update handler
func (spi *SecurityProfileInformer) onUpdate(old *v1.SecurityProfile, new *v1.SecurityProfile) {
	spi.Nsp.DispatchEvent(&model.SecurityProfileUpdatedEvent{
		EventBase: model.EventBase{
			EventType:        model.SecurityProfileUpdatedType,
			EventMonitorName: model.SecurityProfileInformerMonitor,
			Timestamp:        time.Now(),
		},
		Old: old,
		New: new,
	})
}
func ( spi * SecurityProfileInformer ) onUpdate ( old * v1 . SecurityProfile , new * v1 . SecurityProfile ) { spi . Nsp . DispatchEvent ( & model . SecurityProfileUpdatedEvent { EventBase : model . EventBase { EventType : model . SecurityProfileUpdatedType , EventMonitorName : model . SecurityProfileInformerMonitor , Timestamp : time . Now ( ) , } , Old : old , New : new , } ) }
SecurityProfile update handler
SecurityProfile update handler
// If this SecurityProfile is used locally, update in in the kernel hashmaps