Version

Version contains structured information about the version of a package.

JSON representation
{
  "epoch": number,
  "name": string,
  "revision": string,
  "kind": enum (VersionKind)
}
Fields
epoch

number

Used to correct mistakes in the version numbering scheme.

name

string

Required only when version kind is NORMAL. The main part of the version name.

revision

string

The iteration of the package build from the above version.

kind

enum (VersionKind)

Required. Distinguishes between sentinel MIN/MAX versions and normal versions.

VersionKind

Whether this is an ordinary package version or a sentinel MIN/MAX version.

Enums
VERSION_KIND_UNSPECIFIED Unknown.
NORMAL A standard package version.
MINIMUM A special version representing negative infinity.
MAXIMUM A special version representing positive infinity.
此页内容是否有用?请给出您的反馈和评价:

发送以下问题的反馈:

此网页
Container Registry