Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppImageHandler ¶
type AppImageHandler struct{}
AppImageHandler handles AppImage processes on Unix systems.
func (*AppImageHandler) AddTags ¶
func (h *AppImageHandler) AddTags(p *process.Process)
AddTags adds tags to the given process.
func (*AppImageHandler) CreateProfile ¶
func (h *AppImageHandler) CreateProfile(p *process.Process) *profile.Profile
CreateProfile creates a profile based on the tags of the process. Returns nil to skip.
func (*AppImageHandler) Name ¶
func (h *AppImageHandler) Name() string
Name returns the tag handler name.
func (*AppImageHandler) TagDescriptions ¶
func (h *AppImageHandler) TagDescriptions() []process.TagDescription
TagDescriptions returns a list of all possible tags and their description of this handler.
type InterpHandler ¶
type InterpHandler struct{}
InterpHandler supports adding process tags based on well-known interpreter binaries.
func (*InterpHandler) AddTags ¶
func (h *InterpHandler) AddTags(p *process.Process)
AddTags inspects the process p and adds any interpreter tags that InterpHandler detects.
func (*InterpHandler) CreateProfile ¶
func (h *InterpHandler) CreateProfile(p *process.Process) *profile.Profile
CreateProfile creates a new profile for any process that has a tag created by InterpHandler.
func (*InterpHandler) TagDescriptions ¶
func (h *InterpHandler) TagDescriptions() []process.TagDescription
TagDescriptions returns a set of tag descriptions that InterpHandler provides.
type NetworkHandler ¶
type NetworkHandler struct{}
NetworkHandler handles AppImage processes on Unix systems.
func (*NetworkHandler) AddTags ¶
func (h *NetworkHandler) AddTags(p *process.Process)
AddTags adds tags to the given process.
func (*NetworkHandler) CreateProfile ¶
func (h *NetworkHandler) CreateProfile(p *process.Process) *profile.Profile
CreateProfile creates a profile based on the tags of the process. Returns nil to skip.
func (*NetworkHandler) Name ¶
func (h *NetworkHandler) Name() string
Name returns the tag handler name.
func (*NetworkHandler) TagDescriptions ¶
func (h *NetworkHandler) TagDescriptions() []process.TagDescription
TagDescriptions returns a list of all possible tags and their description of this handler.
type SnapHandler ¶ added in v1.0.3
type SnapHandler struct{}
SnapHandler handles Snap processes on Unix systems.
func (*SnapHandler) AddTags ¶ added in v1.0.3
func (h *SnapHandler) AddTags(p *process.Process)
AddTags adds tags to the given process.
func (*SnapHandler) CreateProfile ¶ added in v1.0.3
func (h *SnapHandler) CreateProfile(p *process.Process) *profile.Profile
CreateProfile creates a profile based on the tags of the process. Returns nil to skip.
func (*SnapHandler) Name ¶ added in v1.0.3
func (h *SnapHandler) Name() string
Name returns the tag handler name.
func (*SnapHandler) TagDescriptions ¶ added in v1.0.3
func (h *SnapHandler) TagDescriptions() []process.TagDescription
TagDescriptions returns a list of all possible tags and their description of this handler.