GitRepoVolumeSourcePatch class

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.

Constructors

GitRepoVolumeSourcePatch({Input<String>? directory, Input<String>? repository, Input<String>? revision})
Creates a new GitRepoVolumeSourcePatch. 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. repository repository is the URL revision revision is the commit hash for the specified revision.
const
GitRepoVolumeSourcePatch.fromMap(Map<String, dynamic> map)
factory

Properties

directory → Input<String>?
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.
final
hashCode → int
The hash code for this object.
no setterinherited
repository → Input<String>?
repository is the URL
final
revision → Input<String>?
revision is the commit hash for the specified revision.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited