Documentation ¶
Overview ¶
Package internal contains miscellaneous functions and objects useful within syft but should not be used externally.
Index ¶
Constants ¶
View Source
const ( // ApplicationName is the non-capitalized name of the application (do not change this) ApplicationName = "syft" // JSONSchemaVersion is the current schema version output by the JSON presenter // This is roughly following the "SchemaVer" guidelines for versioning the JSON schema. Please see schema/json/README.md for details on how to increment. JSONSchemaVersion = "1.0.1" )
Variables ¶
This section is empty.
Functions ¶
func MatchCaptureGroups ¶ added in v0.4.1
MatchCaptureGroups takes a regular expression and string and returns all of the named capture group results in a map.
Types ¶
type StringSet ¶
type StringSet map[string]struct{}
StringSet represents a set of string types.
func NewStringSetFromSlice ¶
NewStringSetFromSlice creates a StringSet populated with values from the given slice.
Directories ¶
Path | Synopsis |
---|---|
nolint:dupl nolint: dupl
|
nolint:dupl nolint: dupl |
Package bus provides access to a singleton instance of an event bus (provided by the calling application).
|
Package bus provides access to a singleton instance of an event bus (provided by the calling application). |
Package log contains the singleton object and helper functions for facilitating logging within the syft library.
|
Package log contains the singleton object and helper functions for facilitating logging within the syft library. |
Package logger contains implementations for the syft.logger.Logger interface.
|
Package logger contains implementations for the syft.logger.Logger interface. |
etui
Package etui provides an "ephemeral" terminal user interface to display the application state dynamically.
|
Package etui provides an "ephemeral" terminal user interface to display the application state dynamically. |
Package version contains all build time metadata (version, build time, git commit, etc).
|
Package version contains all build time metadata (version, build time, git commit, etc). |
Click to show internal directories.
Click to hide internal directories.