Documentation
¶
Index ¶
- type ContainerProfileManagerClient
- type ContainerProfileManagerMock
- func (a ContainerProfileManagerMock) ContainerCallback(_ containercollection.PubSubEvent)
- func (a ContainerProfileManagerMock) OnQueueError(_ *v1beta1.ContainerProfile, _ string, _ error)
- func (a ContainerProfileManagerMock) RegisterForContainerEndOfLife(_ chan *containercollection.Container)
- func (a ContainerProfileManagerMock) ReportCapability(_, _ string)
- func (a ContainerProfileManagerMock) ReportDroppedEvent(_ string)
- func (a ContainerProfileManagerMock) ReportFileExec(_ string, _ utils.ExecEvent)
- func (a ContainerProfileManagerMock) ReportFileOpen(_ string, _ utils.OpenEvent)
- func (a ContainerProfileManagerMock) ReportHTTPEvent(_ string, _ utils.HttpEvent)
- func (a ContainerProfileManagerMock) ReportHardlinkEvent(_ string, _ utils.LinkEvent)
- func (a ContainerProfileManagerMock) ReportIdentifiedCallStack(_ string, _ *v1beta1.IdentifiedCallStack)
- func (a ContainerProfileManagerMock) ReportNetworkEvent(_ string, _ utils.NetworkEvent)
- func (a ContainerProfileManagerMock) ReportRulePolicy(_, _, _ string, _ bool)
- func (a ContainerProfileManagerMock) ReportSymlinkEvent(_ string, _ utils.LinkEvent)
- func (a ContainerProfileManagerMock) ReportSyscall(_ string, _ string)
- type Enricher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerProfileManagerClient ¶
type ContainerProfileManagerClient interface {
ContainerCallback(notif containercollection.PubSubEvent)
ReportCapability(containerID, capability string)
ReportFileExec(containerID string, event utils.ExecEvent)
ReportFileOpen(containerID string, event utils.OpenEvent)
ReportHTTPEvent(containerID string, event utils.HttpEvent)
ReportRulePolicy(containerID, ruleId, allowedProcess string, allowedContainer bool)
ReportIdentifiedCallStack(containerID string, callStack *v1beta1.IdentifiedCallStack)
ReportSymlinkEvent(containerID string, event utils.LinkEvent)
ReportHardlinkEvent(containerID string, event utils.LinkEvent)
ReportNetworkEvent(containerID string, event utils.NetworkEvent)
ReportSyscall(containerID string, syscall string)
ReportDroppedEvent(containerID string)
RegisterForContainerEndOfLife(notificationChannel chan *containercollection.Container)
OnQueueError(profile *v1beta1.ContainerProfile, containerID string, err error)
}
type ContainerProfileManagerMock ¶
type ContainerProfileManagerMock struct {
}
func CreateContainerProfileManagerMock ¶
func CreateContainerProfileManagerMock() *ContainerProfileManagerMock
func (ContainerProfileManagerMock) ContainerCallback ¶
func (a ContainerProfileManagerMock) ContainerCallback(_ containercollection.PubSubEvent)
func (ContainerProfileManagerMock) OnQueueError ¶
func (a ContainerProfileManagerMock) OnQueueError(_ *v1beta1.ContainerProfile, _ string, _ error)
func (ContainerProfileManagerMock) RegisterForContainerEndOfLife ¶
func (a ContainerProfileManagerMock) RegisterForContainerEndOfLife(_ chan *containercollection.Container)
func (ContainerProfileManagerMock) ReportCapability ¶
func (a ContainerProfileManagerMock) ReportCapability(_, _ string)
func (ContainerProfileManagerMock) ReportDroppedEvent ¶
func (a ContainerProfileManagerMock) ReportDroppedEvent(_ string)
func (ContainerProfileManagerMock) ReportFileExec ¶
func (a ContainerProfileManagerMock) ReportFileExec(_ string, _ utils.ExecEvent)
func (ContainerProfileManagerMock) ReportFileOpen ¶
func (a ContainerProfileManagerMock) ReportFileOpen(_ string, _ utils.OpenEvent)
func (ContainerProfileManagerMock) ReportHTTPEvent ¶
func (a ContainerProfileManagerMock) ReportHTTPEvent(_ string, _ utils.HttpEvent)
func (ContainerProfileManagerMock) ReportHardlinkEvent ¶
func (a ContainerProfileManagerMock) ReportHardlinkEvent(_ string, _ utils.LinkEvent)
func (ContainerProfileManagerMock) ReportIdentifiedCallStack ¶
func (a ContainerProfileManagerMock) ReportIdentifiedCallStack(_ string, _ *v1beta1.IdentifiedCallStack)
func (ContainerProfileManagerMock) ReportNetworkEvent ¶
func (a ContainerProfileManagerMock) ReportNetworkEvent(_ string, _ utils.NetworkEvent)
func (ContainerProfileManagerMock) ReportRulePolicy ¶
func (a ContainerProfileManagerMock) ReportRulePolicy(_, _, _ string, _ bool)
func (ContainerProfileManagerMock) ReportSymlinkEvent ¶
func (a ContainerProfileManagerMock) ReportSymlinkEvent(_ string, _ utils.LinkEvent)
func (ContainerProfileManagerMock) ReportSyscall ¶ added in v0.3.3
func (a ContainerProfileManagerMock) ReportSyscall(_ string, _ string)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.