Class GitRepoVolumeSource

    • Constructor Detail

      • GitRepoVolumeSource

        public GitRepoVolumeSource()
        No args constructor for use in serialization
      • GitRepoVolumeSource

        public GitRepoVolumeSource​(String directory,
                                   String repository,
                                   String revision)
    • Method Detail

      • getDirectory

        public String getDirectory()
        directory is the 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.
      • setDirectory

        public void setDirectory​(String directory)
        directory is the 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.
      • getRepository

        public String getRepository()
        repository is the URL
      • setRepository

        public void setRepository​(String repository)
        repository is the URL
      • getRevision

        public String getRevision()
        revision is the commit hash for the specified revision.
      • setRevision

        public void setRevision​(String revision)
        revision is the commit hash for the specified revision.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)