tags

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: AGPL-3.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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) Name

func (h *InterpHandler) Name() string

Name returns "Interpreter".

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.

Jump to

Keyboard shortcuts

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