applicationprofilecache

package
v0.2.390 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2025 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationProfileCacheImpl

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

func NewApplicationProfileCache

func NewApplicationProfileCache(cfg config.Config, storageClient versioned.SpdxV1beta1Interface, k8sObjectCache objectcache.K8sObjectCache) *ApplicationProfileCacheImpl

NewApplicationProfileCache creates a new application profile cache with periodic updates

func (*ApplicationProfileCacheImpl) ContainerCallback added in v0.2.332

func (apc *ApplicationProfileCacheImpl) ContainerCallback(notif containercollection.PubSubEvent)

ContainerCallback handles container lifecycle events

func (*ApplicationProfileCacheImpl) GetApplicationProfile

func (apc *ApplicationProfileCacheImpl) GetApplicationProfile(containerID string) *v1beta1.ApplicationProfile

GetApplicationProfile gets the application profile for a container

func (*ApplicationProfileCacheImpl) GetApplicationProfileState added in v0.2.332

func (apc *ApplicationProfileCacheImpl) GetApplicationProfileState(containerID string) *objectcache.ProfileState

GetApplicationProfileState gets the profile state for a container

func (*ApplicationProfileCacheImpl) GetCallStackSearchTree added in v0.2.246

func (apc *ApplicationProfileCacheImpl) GetCallStackSearchTree(containerID string) *callstackcache.CallStackSearchTree

GetCallStackSearchTree gets the call stack index for a container

func (*ApplicationProfileCacheImpl) Start added in v0.2.332

Start begins the periodic update process

type ContainerCallStackIndex added in v0.2.246

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

ContainerCallStackIndex maintains call stack search trees for a container

type ContainerInfo added in v0.2.332

type ContainerInfo struct {
	ContainerID          string
	WorkloadID           string
	InstanceTemplateHash string
	Namespace            string
	Name                 string
}

ContainerInfo holds container metadata we need for application profile mapping

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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