GoogleApi.ContainerAnalysis.V1alpha1.Model.Version (google_api_container_analysis v0.14.0) View Source

Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/

Attributes

  • epoch (type: integer(), default: nil) - Used to correct mistakes in the version numbering scheme.
  • inclusive (type: boolean(), default: nil) - Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it's not
  • kind (type: String.t, default: nil) - Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
  • name (type: String.t, default: nil) - The main part of the version name.
  • revision (type: String.t, default: nil) - The iteration of the package build from the above version.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.ContainerAnalysis.V1alpha1.Model.Version{
  epoch: integer() | nil,
  inclusive: boolean() | nil,
  kind: String.t() | nil,
  name: String.t() | nil,
  revision: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.