func (spi *SecurityProfileInformer) onDelete(sp *v1.SecurityProfile) {
	// If this SecurityProfile is used locally, delete it from the kernel hashmaps
	spi.Nsp.DispatchEvent(&model.SecurityProfileDeletedEvent{
		EventBase: model.EventBase{
			EventType:        model.SecurityProfileDeletedType,
			EventMonitorName: model.SecurityProfileInformerMonitor,
			Timestamp:        time.Now(),
		},
		Profile: sp,
	})
}
// onDelete - SecurityProfile creation handler
SecurityProfile creation handler
// onDelete - SecurityProfile creation handler
func (spi *SecurityProfileInformer) onDelete(sp *v1.SecurityProfile) {
	spi.Nsp.DispatchEvent(&model.SecurityProfileDeletedEvent{
		EventBase: model.EventBase{
			EventType:        model.SecurityProfileDeletedType,
			EventMonitorName: model.SecurityProfileInformerMonitor,
			Timestamp:        time.Now(),
		},
		Profile: sp,
	})
}
func ( spi * SecurityProfileInformer ) onDelete ( sp * v1 . SecurityProfile ) { spi . Nsp . DispatchEvent ( & model . SecurityProfileDeletedEvent { EventBase : model . EventBase { EventType : model . SecurityProfileDeletedType , EventMonitorName : model . SecurityProfileInformerMonitor , Timestamp : time . Now ( ) , } , Profile : sp , } ) }
SecurityProfile creation handler
SecurityProfile creation handler
// If this SecurityProfile is used locally, delete it from the kernel hashmaps