mirror of
https://github.com/anchore/syft.git
synced 2026-11-01 06:56:40 +01:00
* improve struct and field comments and incorporate into json schema Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * address review feedback Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> --------- Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
26 lines
779 B
Go
26 lines
779 B
Go
package pkg
|
|
|
|
// LuaRocksPackage represents a Lua package managed by the LuaRocks package manager with metadata from .rockspec files.
|
|
type LuaRocksPackage struct {
|
|
// Name is the package name as found in the .rockspec file
|
|
Name string `json:"name"`
|
|
|
|
// Version is the package version as found in the .rockspec file
|
|
Version string `json:"version"`
|
|
|
|
// License is license identifier
|
|
License string `json:"license"`
|
|
|
|
// Homepage is project homepage URL
|
|
Homepage string `json:"homepage"`
|
|
|
|
// Description is a human-readable package description
|
|
Description string `json:"description"`
|
|
|
|
// URL is the source download URL
|
|
URL string `json:"url"`
|
|
|
|
// Dependencies are the map of dependency names to version constraints
|
|
Dependencies map[string]string `json:"dependencies"`
|
|
}
|