Documentation ¶
Overview ¶
Package sbom holds sbom related files
Package sbom holds sbom related files
Index ¶
- type Package
- type Resolver
- func (r *Resolver) OnCGroupDeletedEvent(_ *cgroupModel.CacheEntry)
- func (r *Resolver) OnWorkloadSelectorResolvedEvent(_ *tags.Workload)
- func (r *Resolver) RefreshSBOM(_ containerutils.ContainerID) error
- func (r *Resolver) ResolvePackage(_ containerutils.ContainerID, _ *model.FileEvent) *Package
- func (r *Resolver) SendStats() error
- func (r *Resolver) Start(_ context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Resolver ¶
type Resolver struct { }
Resolver is the Software Bill-Of-material resolver
func NewSBOMResolver ¶
func NewSBOMResolver(_ *config.RuntimeSecurityConfig, _ statsd.ClientInterface) (*Resolver, error)
NewSBOMResolver returns a new instance of Resolver
func (*Resolver) OnCGroupDeletedEvent ¶
func (r *Resolver) OnCGroupDeletedEvent(_ *cgroupModel.CacheEntry)
OnCGroupDeletedEvent is used to handle a CGroupDeleted event
func (*Resolver) OnWorkloadSelectorResolvedEvent ¶
OnWorkloadSelectorResolvedEvent is used to handle the creation of a new cgroup with its resolved tags
func (*Resolver) RefreshSBOM ¶
func (r *Resolver) RefreshSBOM(_ containerutils.ContainerID) error
RefreshSBOM regenerates a SBOM for a container
func (*Resolver) ResolvePackage ¶
func (r *Resolver) ResolvePackage(_ containerutils.ContainerID, _ *model.FileEvent) *Package
ResolvePackage returns the Package that owns the provided file
Click to show internal directories.
Click to hide internal directories.