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) RegisterPeekFunc(_ func(mntns uint64) ([]string, error))
- func (a ContainerProfileManagerMock) ReportCapability(_, _ string)
- func (a ContainerProfileManagerMock) ReportDroppedEvent(_ string)
- func (a ContainerProfileManagerMock) ReportFileExec(_ string, _ events.ExecEvent)
- func (a ContainerProfileManagerMock) ReportFileOpen(_ string, _ events.OpenEvent)
- func (a ContainerProfileManagerMock) ReportHTTPEvent(_ string, _ *tracerhttptype.Event)
- func (a ContainerProfileManagerMock) ReportHardlinkEvent(_ string, _ *tracerhardlinktype.Event)
- func (a ContainerProfileManagerMock) ReportIdentifiedCallStack(_ string, _ *v1beta1.IdentifiedCallStack)
- func (a ContainerProfileManagerMock) ReportNetworkEvent(_ string, _ *tracernetworktype.Event)
- func (a ContainerProfileManagerMock) ReportRulePolicy(_, _, _ string, _ bool)
- func (a ContainerProfileManagerMock) ReportSymlinkEvent(_ string, _ *tracersymlinktype.Event)
- 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)
RegisterPeekFunc(peek func(mntns uint64) ([]string, error))
ReportCapability(containerID, capability string)
ReportFileExec(containerID string, event events.ExecEvent)
ReportFileOpen(containerID string, event events.OpenEvent)
ReportHTTPEvent(containerID string, event *tracerhttptype.Event)
ReportRulePolicy(containerID, ruleId, allowedProcess string, allowedContainer bool)
ReportIdentifiedCallStack(containerID string, callStack *v1beta1.IdentifiedCallStack)
ReportSymlinkEvent(containerID string, event *tracersymlinktype.Event)
ReportHardlinkEvent(containerID string, event *tracerhardlinktype.Event)
ReportNetworkEvent(containerID string, event *tracernetworktype.Event)
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) RegisterPeekFunc ¶
func (a ContainerProfileManagerMock) RegisterPeekFunc(_ func(mntns uint64) ([]string, error))
func (ContainerProfileManagerMock) ReportCapability ¶
func (a ContainerProfileManagerMock) ReportCapability(_, _ string)
func (ContainerProfileManagerMock) ReportDroppedEvent ¶
func (a ContainerProfileManagerMock) ReportDroppedEvent(_ string)
func (ContainerProfileManagerMock) ReportFileExec ¶
func (a ContainerProfileManagerMock) ReportFileExec(_ string, _ events.ExecEvent)
func (ContainerProfileManagerMock) ReportFileOpen ¶
func (a ContainerProfileManagerMock) ReportFileOpen(_ string, _ events.OpenEvent)
func (ContainerProfileManagerMock) ReportHTTPEvent ¶
func (a ContainerProfileManagerMock) ReportHTTPEvent(_ string, _ *tracerhttptype.Event)
func (ContainerProfileManagerMock) ReportHardlinkEvent ¶
func (a ContainerProfileManagerMock) ReportHardlinkEvent(_ string, _ *tracerhardlinktype.Event)
func (ContainerProfileManagerMock) ReportIdentifiedCallStack ¶
func (a ContainerProfileManagerMock) ReportIdentifiedCallStack(_ string, _ *v1beta1.IdentifiedCallStack)
func (ContainerProfileManagerMock) ReportNetworkEvent ¶
func (a ContainerProfileManagerMock) ReportNetworkEvent(_ string, _ *tracernetworktype.Event)
func (ContainerProfileManagerMock) ReportRulePolicy ¶
func (a ContainerProfileManagerMock) ReportRulePolicy(_, _, _ string, _ bool)
func (ContainerProfileManagerMock) ReportSymlinkEvent ¶
func (a ContainerProfileManagerMock) ReportSymlinkEvent(_ string, _ *tracersymlinktype.Event)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.