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(_ *cgroupModel.CacheEntry)
- func (r *Resolver) RefreshSBOM(_ string) error
- func (r *Resolver) ResolvePackage(_ string, _ *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 ¶
func (r *Resolver) OnWorkloadSelectorResolvedEvent(_ *cgroupModel.CacheEntry)
OnWorkloadSelectorResolvedEvent is used to handle the creation of a new cgroup with its resolved tags
func (*Resolver) RefreshSBOM ¶
RefreshSBOM regenerates a SBOM for a container
func (*Resolver) ResolvePackage ¶
ResolvePackage returns the Package that owns the provided file
Click to show internal directories.
Click to hide internal directories.