GitRepoVolumeResponse

data class GitRepoVolumeResponse(val directory: String? = null, val repository: String, val revision: String? = null)

Represents a volume that is populated with the contents of a git repository

Constructors

Link copied to clipboard
constructor(directory: String? = null, repository: String, revision: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val directory: String? = null

Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name.

Link copied to clipboard

Repository URL

Link copied to clipboard
val revision: String? = null

Commit hash for the specified revision.