containerprofilemanager

package
v0.2.366 Latest Latest
Warning

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

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

Documentation

Index

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 (ContainerProfileManagerMock) OnQueueError

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)

type Enricher

type Enricher interface {
	EnrichEvent(containerID string, event utils.EnrichEvent, callID string)
}

Directories

Path Synopsis
v1

Jump to

Keyboard shortcuts

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