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.
- Alphabetic
 - By Inheritance
 
- GitRepoVolumeSource
 - Serializable
 - Serializable
 - Product
 - Equals
 - AnyRef
 - Any
 
- Hide All
 - Show All
 
- Public
 - All
 
Instance Constructors
- 
      
      
      
        
      
    
      
        
        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
-  val directory: Optional[String]
 - 
      
      
      
        
      
    
      
        
        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.
 - 
      
      
      
        
      
    
      
        
        def
      
      
        getRepository: IO[K8sFailure, String]
      
      
      
Repository URL
Repository URL
This effect always succeeds, it is safe to use the field repository directly.
 - 
      
      
      
        
      
    
      
        
        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.
 -  val repository: String
 -  val revision: Optional[String]