rulemanager

package
v0.2.111 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 11, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

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)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL