VersionArgs

data class VersionArgs(val epoch: Output<Int>? = null, val inclusive: Output<Boolean>? = null, val kind: Output<VersionKind>? = null, val name: Output<String>? = null, val revision: Output<String>? = null) : ConvertibleToJava<VersionArgs>

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/

Constructors

Link copied to clipboard
fun VersionArgs(epoch: Output<Int>? = null, inclusive: Output<Boolean>? = null, kind: Output<VersionKind>? = null, name: Output<String>? = null, revision: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): VersionArgs

Properties

Link copied to clipboard
val epoch: Output<Int>? = null

Used to correct mistakes in the version numbering scheme.

Link copied to clipboard
val inclusive: Output<Boolean>? = null

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

Link copied to clipboard
val kind: Output<VersionKind>? = null

Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.

Link copied to clipboard
val name: Output<String>? = null

The main part of the version name.

Link copied to clipboard
val revision: Output<String>? = null

The iteration of the package build from the above version.