Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MalwareManagerClient ¶
type MalwareManagerClient interface { ReportEvent(eventType utils.EventType, event utils.K8sEvent) ContainerCallback(notif containercollection.PubSubEvent) }
type MalwareManagerMock ¶
type MalwareManagerMock struct { }
func CreateMalwareManagerMock ¶
func CreateMalwareManagerMock() *MalwareManagerMock
func (MalwareManagerMock) ContainerCallback ¶
func (r MalwareManagerMock) ContainerCallback(_ containercollection.PubSubEvent)
func (MalwareManagerMock) ReportEvent ¶ added in v0.2.145
func (r MalwareManagerMock) ReportEvent(_ utils.EventType, _ utils.K8sEvent)
type MalwareResult ¶
type MalwareResult interface { // Get Basic Runtime Alert GetBasicRuntimeAlert() apitypes.BaseRuntimeAlert // Get Runtime Process Details GetRuntimeProcessDetails() apitypes.ProcessTree // Get Trigger Event GetTriggerEvent() igtypes.Event // Get Malware Description GetMalwareRuntimeAlert() apitypes.MalwareAlert // Get K8s Runtime Details GetRuntimeAlertK8sDetails() apitypes.RuntimeAlertK8sDetails // Set Workload Details SetWorkloadDetails(workloadDetails string) // Set Basic Runtime Alert SetBasicRuntimeAlert(basicRuntimeAlert apitypes.BaseRuntimeAlert) // Set Runtime Process Details SetRuntimeProcessDetails(processTree apitypes.ProcessTree) // Set Trigger Event SetTriggerEvent(event igtypes.Event) // Set Malware Description SetMalwareRuntimeAlert(malwareRuntimeAlert apitypes.MalwareAlert) // Set K8s Runtime Details SetRuntimeAlertK8sDetails(runtimeAlertK8sDetails apitypes.RuntimeAlertK8sDetails) }
type MalwareScanner ¶
Click to show internal directories.
Click to hide internal directories.