RepositoryRefDefinitionArgs

data class RepositoryRefDefinitionArgs(val branch: Output<String>? = null, val commit: Output<String>? = null, val semver: Output<String>? = null, val tag: Output<String>? = null) : ConvertibleToJava<RepositoryRefDefinitionArgs>

The source reference for the GitRepository object.

Constructors

Link copied to clipboard
constructor(branch: Output<String>? = null, commit: Output<String>? = null, semver: Output<String>? = null, tag: Output<String>? = null)

Properties

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

The git repository branch name to checkout.

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

The commit SHA to checkout. This value must be combined with the branch name to be valid. This takes precedence over semver.

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

The semver range used to match against git repository tags. This takes precedence over tag.

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

The git repository tag name to checkout. This takes precedence over branch.

Functions

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