Packages

case class GitRepoVolumeSource(directory: Optional[String] = Optional.Absent, repository: String, revision: Optional[String] = Optional.Absent) extends Product with Serializable

Represents a volume that is populated with the contents of a git repository. Git repo volumes do not support ownership management. Git repo volumes support SELinux relabeling.

DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.

directory

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.

repository

Repository URL

revision

Commit hash for the specified revision.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GitRepoVolumeSource
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GitRepoVolumeSource(directory: Optional[String] = Optional.Absent, repository: String, revision: Optional[String] = Optional.Absent)

    directory

    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.

    repository

    Repository URL

    revision

    Commit hash for the specified revision.

Value Members

  1. val directory: Optional[String]
  2. def getDirectory: IO[K8sFailure, String]

    Target directory name.

    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.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  3. def getRepository: IO[K8sFailure, String]

    Repository URL

    Repository URL

    This effect always succeeds, it is safe to use the field repository directly.

  4. def getRevision: IO[K8sFailure, String]

    Commit hash for the specified revision.

    Commit hash for the specified revision.

    If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

  5. val repository: String
  6. val revision: Optional[String]