func (spi *SecurityProfileInformer) onAdd(sp *v1.SecurityProfile) {
	// Check if running containers are selected by this SecurityProfile
	spi.Nsp.DispatchEvent(&model.SecurityProfileCreatedEvent{
		EventBase: model.EventBase{
			EventType:        model.SecurityProfileCreatedType,
			EventMonitorName: model.SecurityProfileInformerMonitor,
			Timestamp:        time.Now(),
		},
		Profile: sp,
	})
}
// onAdd - SecurityProfile creation handler
SecurityProfile creation handler
// onAdd - SecurityProfile creation handler
func (spi *SecurityProfileInformer) onAdd(sp *v1.SecurityProfile) {
	spi.Nsp.DispatchEvent(&model.SecurityProfileCreatedEvent{
		EventBase: model.EventBase{
			EventType:        model.SecurityProfileCreatedType,
			EventMonitorName: model.SecurityProfileInformerMonitor,
			Timestamp:        time.Now(),
		},
		Profile: sp,
	})
}
func ( spi * SecurityProfileInformer ) onAdd ( sp * v1 . SecurityProfile ) { spi . Nsp . DispatchEvent ( & model . SecurityProfileCreatedEvent { EventBase : model . EventBase { EventType : model . SecurityProfileCreatedType , EventMonitorName : model . SecurityProfileInformerMonitor , Timestamp : time . Now ( ) , } , Profile : sp , } ) }
SecurityProfile creation handler
SecurityProfile creation handler
// Check if running containers are selected by this SecurityProfile