applicationprofilemanager

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: 37 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateHTTPEndpointHash added in v0.2.145

func CalculateHTTPEndpointHash(endpoint *v1beta1.HTTPEndpoint) string

func GetNewEndpoint added in v0.2.145

func GetNewEndpoint(request *tracerhttptype.HTTPRequestData, event *tracerhttptype.Event, url string) (*v1beta1.HTTPEndpoint, error)

Types

type ApplicationProfileManager

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

func CreateApplicationProfileManager

func CreateApplicationProfileManager(ctx context.Context, cfg config.Config, clusterName string, k8sClient k8sclient.K8sClientInterface, storageClient storage.StorageClient, preRunningContainerIDs mapset.Set[string], k8sObjectCache objectcache.K8sObjectCache, seccompManager seccompmanager.SeccompManagerClient) (*ApplicationProfileManager, error)

func (*ApplicationProfileManager) ContainerCallback

func (am *ApplicationProfileManager) ContainerCallback(notif containercollection.PubSubEvent)

func (*ApplicationProfileManager) ContainerReachedMaxTime

func (am *ApplicationProfileManager) ContainerReachedMaxTime(containerID string)

func (*ApplicationProfileManager) GetEndpointIdentifier added in v0.2.145

func (am *ApplicationProfileManager) GetEndpointIdentifier(request *tracerhttptype.HTTPRequestData) (string, error)

func (*ApplicationProfileManager) RegisterPeekFunc

func (am *ApplicationProfileManager) RegisterPeekFunc(peek func(mntns uint64) ([]string, error))

func (*ApplicationProfileManager) ReportCapability

func (am *ApplicationProfileManager) ReportCapability(k8sContainerID, capability string)

func (*ApplicationProfileManager) ReportDroppedEvent

func (am *ApplicationProfileManager) ReportDroppedEvent(k8sContainerID string)

func (*ApplicationProfileManager) ReportFileExec

func (am *ApplicationProfileManager) ReportFileExec(k8sContainerID, path string, args []string)

func (*ApplicationProfileManager) ReportFileOpen

func (am *ApplicationProfileManager) ReportFileOpen(k8sContainerID, path string, flags []string)

func (*ApplicationProfileManager) ReportHTTPEvent added in v0.2.145

func (am *ApplicationProfileManager) ReportHTTPEvent(k8sContainerID string, event *tracerhttptype.Event)

Jump to

Keyboard shortcuts

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