Members
(static, constant) Architecture :number
Instruction set architectures supported by various package managers.
Properties:
Name | Type | Description |
---|---|---|
ARCHITECTURE_UNSPECIFIED |
number |
Unknown architecture. |
X86 |
number |
X86 architecture. |
X64 |
number |
X64 architecture. |
(static) VersionKind :number
Whether this is an ordinary package version or a sentinel MIN/MAX version.
Properties:
Name | Type | Description |
---|---|---|
VERSION_KIND_UNSPECIFIED |
number |
Unknown. |
NORMAL |
number |
A standard package version, defined by the other fields. |
MINIMUM |
number |
A special version representing negative infinity, other fields are ignored. |
MAXIMUM |
number |
A special version representing positive infinity, other fields are ignored. |
Type Definitions
Details
Details of a package occurrence.
Properties:
Name | Type | Description |
---|---|---|
installation |
Object |
Where the package was installed. This object should have the same structure as Installation |
- Source:
- See:
Distribution
This represents a particular channel of distribution for a given package. E.g., Debian's jessie-backports dpkg mirror.
Properties:
Name | Type | Description |
---|---|---|
cpeUri |
string |
The cpe_uri in cpe format denoting the package manager version distributing a package. |
architecture |
number |
The CPU architecture for which packages in this distribution channel were built. The number should be among the values of Architecture |
latestVersion |
Object |
The latest available version of this package in this distribution channel. This object should have the same structure as Version |
maintainer |
string |
A freeform string denoting the maintainer of this package. |
url |
string |
The distribution channel-specific homepage for this package. |
description |
string |
The distribution channel-specific description of this package. |
- Source:
- See:
Installation
This represents how a particular software package may be installed on a system.
Properties:
Name | Type | Description |
---|---|---|
name |
string |
Output only. The name of the installed package. |
location |
Array.<Object> |
All of the places within the filesystem versions of this package have been found. This object should have the same structure as Location |
- Source:
- See:
Location
An occurrence of a particular package installation found within a system's filesystem. E.g., glibc was found in /var/lib/dpkg/status.
Properties:
Name | Type | Description |
---|---|---|
cpeUri |
string |
The cpe_uri in cpe format denoting the package manager version distributing a package. |
version |
Object |
The version installed at this location. This object should have the same structure as Version |
path |
string |
The path from which we gathered that this package/version is installed. |
- Source:
- See:
Package
This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions.
Properties:
Name | Type | Description |
---|---|---|
name |
string |
The name of the package. |
distribution |
Array.<Object> |
The various channels by which a package is distributed. This object should have the same structure as Distribution |
- Source:
- See:
Version
Version contains structured information about the version of a package.
Properties:
Name | Type | Description |
---|---|---|
epoch |
number |
Used to correct mistakes in the version numbering scheme. |
name |
string |
The main part of the version name. |
revision |
string |
The iteration of the package build from the above version. |
kind |
number |
Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored. The number should be among the values of VersionKind |