Documentation ¶
Index ¶
- type RuleManagerClient
- type RuleManagerMock
- func (r *RuleManagerMock) ContainerCallback(_ containercollection.PubSubEvent)
- func (r *RuleManagerMock) HasApplicableRuleBindings(_, _ string) bool
- func (r *RuleManagerMock) HasFinalApplicationProfile(_ *v1.Pod) bool
- func (r *RuleManagerMock) IsContainerMonitored(_ string) bool
- func (r *RuleManagerMock) IsPodMonitored(_, _ string) bool
- func (r *RuleManagerMock) RegisterPeekFunc(_ func(mntns uint64) ([]string, error))
- func (r *RuleManagerMock) ReportCapability(_ tracercapabilitiestype.Event)
- func (r *RuleManagerMock) ReportDNSEvent(_ tracerdnstype.Event)
- func (r *RuleManagerMock) ReportFileExec(_ tracerexectype.Event)
- func (r *RuleManagerMock) ReportFileOpen(_ traceropentype.Event)
- func (r *RuleManagerMock) ReportHardlinkEvent(_ tracerhardlinktype.Event)
- func (r *RuleManagerMock) ReportNetworkEvent(_ tracernetworktype.Event)
- func (r *RuleManagerMock) ReportRandomxEvent(_ tracerrandomxtype.Event)
- func (r *RuleManagerMock) ReportSymlinkEvent(_ tracersymlinktype.Event)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RuleManagerClient ¶
type RuleManagerClient interface { ContainerCallback(notif containercollection.PubSubEvent) RegisterPeekFunc(peek func(mntns uint64) ([]string, error)) ReportCapability(event tracercapabilitiestype.Event) ReportFileExec(event tracerexectype.Event) ReportFileOpen(event traceropentype.Event) ReportNetworkEvent(event tracernetworktype.Event) ReportDNSEvent(event tracerdnstype.Event) ReportRandomxEvent(event tracerrandomxtype.Event) ReportSymlinkEvent(event tracersymlinktype.Event) ReportHardlinkEvent(event tracerhardlinktype.Event) HasApplicableRuleBindings(namespace, name string) bool HasFinalApplicationProfile(pod *v1.Pod) bool IsContainerMonitored(k8sContainerID string) bool IsPodMonitored(namespace, pod string) bool }
type RuleManagerMock ¶
type RuleManagerMock struct { }
func CreateRuleManagerMock ¶
func CreateRuleManagerMock() *RuleManagerMock
func (*RuleManagerMock) ContainerCallback ¶
func (r *RuleManagerMock) ContainerCallback(_ containercollection.PubSubEvent)
func (*RuleManagerMock) HasApplicableRuleBindings ¶
func (r *RuleManagerMock) HasApplicableRuleBindings(_, _ string) bool
func (*RuleManagerMock) HasFinalApplicationProfile ¶
func (r *RuleManagerMock) HasFinalApplicationProfile(_ *v1.Pod) bool
func (*RuleManagerMock) IsContainerMonitored ¶
func (r *RuleManagerMock) IsContainerMonitored(_ string) bool
func (*RuleManagerMock) IsPodMonitored ¶
func (r *RuleManagerMock) IsPodMonitored(_, _ string) bool
func (*RuleManagerMock) RegisterPeekFunc ¶
func (r *RuleManagerMock) RegisterPeekFunc(_ func(mntns uint64) ([]string, error))
func (*RuleManagerMock) ReportCapability ¶
func (r *RuleManagerMock) ReportCapability(_ tracercapabilitiestype.Event)
func (*RuleManagerMock) ReportDNSEvent ¶
func (r *RuleManagerMock) ReportDNSEvent(_ tracerdnstype.Event)
func (*RuleManagerMock) ReportFileExec ¶
func (r *RuleManagerMock) ReportFileExec(_ tracerexectype.Event)
func (*RuleManagerMock) ReportFileOpen ¶
func (r *RuleManagerMock) ReportFileOpen(_ traceropentype.Event)
func (*RuleManagerMock) ReportHardlinkEvent ¶
func (r *RuleManagerMock) ReportHardlinkEvent(_ tracerhardlinktype.Event)
func (*RuleManagerMock) ReportNetworkEvent ¶
func (r *RuleManagerMock) ReportNetworkEvent(_ tracernetworktype.Event)
func (*RuleManagerMock) ReportRandomxEvent ¶
func (r *RuleManagerMock) ReportRandomxEvent(_ tracerrandomxtype.Event)
func (*RuleManagerMock) ReportSymlinkEvent ¶
func (r *RuleManagerMock) ReportSymlinkEvent(_ tracersymlinktype.Event)
Click to show internal directories.
Click to hide internal directories.