relevancymanager

package
v0.2.152 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RelevancyManager

type RelevancyManager struct {
	// contains filtered or unexported fields
}

func CreateRelevancyManager

func CreateRelevancyManager(ctx context.Context, cfg config.Config, clusterName string, fileHandler filehandler.FileHandler, k8sClient k8sclient.K8sClientInterface, sbomHandler sbomhandler.SBOMHandlerClient, preRunningContainerIDs mapset.Set[string]) (*RelevancyManager, error)

func (*RelevancyManager) ContainerCallback

func (rm *RelevancyManager) ContainerCallback(notif containercollection.PubSubEvent)

func (*RelevancyManager) ContainerReachedMaxTime

func (rm *RelevancyManager) ContainerReachedMaxTime(containerID string)

func (*RelevancyManager) HasRelevancyCalculating

func (rm *RelevancyManager) HasRelevancyCalculating(pod *v1.Pod) bool

func (*RelevancyManager) ReportFileExec

func (rm *RelevancyManager) ReportFileExec(containerID, k8sContainerID, file string)

func (*RelevancyManager) ReportFileOpen

func (rm *RelevancyManager) ReportFileOpen(containerID, k8sContainerID, file string)

Jump to

Keyboard shortcuts

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