Documentation ¶
Overview ¶
Package usergroup holds usergroup related files
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntryCache ¶
type EntryCache struct {
// contains filtered or unexported fields
}
EntryCache maps ids to names
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
Resolver resolves user and group ids to names
func NewResolver ¶
NewResolver instantiates a new user and group resolver
func (*Resolver) OnCGroupDeletedEvent ¶
func (r *Resolver) OnCGroupDeletedEvent(sbom *cgroupModel.CacheEntry)
OnCGroupDeletedEvent is used to handle a CGroupDeleted event
func (*Resolver) RefreshCache ¶
RefreshCache refresh the user and group caches with data from files
func (*Resolver) ResolveGroup ¶
ResolveGroup resolves a group id to a group name
Click to show internal directories.
Click to hide internal directories.