Struct k8s_openapi::v1_7::kubernetes::pkg::api::v1::GitRepoVolumeSource [−][src]
pub struct GitRepoVolumeSource {
pub directory: Option<String>,
pub repository: String,
pub revision: Option<String>,
}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.
Fields
directory: Option<String>
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: String
Repository URL
revision: Option<String>
Commit hash for the specified revision.
Trait Implementations
impl Clone for GitRepoVolumeSource[src]
impl Clone for GitRepoVolumeSourcefn clone(&self) -> GitRepoVolumeSource[src]
fn clone(&self) -> GitRepoVolumeSourceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Debug for GitRepoVolumeSource[src]
impl Debug for GitRepoVolumeSourcefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for GitRepoVolumeSource[src]
impl Default for GitRepoVolumeSourcefn default() -> GitRepoVolumeSource[src]
fn default() -> GitRepoVolumeSourceReturns the "default value" for a type. Read more
impl PartialEq for GitRepoVolumeSource[src]
impl PartialEq for GitRepoVolumeSourcefn eq(&self, other: &GitRepoVolumeSource) -> bool[src]
fn eq(&self, other: &GitRepoVolumeSource) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &GitRepoVolumeSource) -> bool[src]
fn ne(&self, other: &GitRepoVolumeSource) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for GitRepoVolumeSource[src]
impl<'de> Deserialize<'de> for GitRepoVolumeSourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl Serialize for GitRepoVolumeSource[src]
impl Serialize for GitRepoVolumeSourceAuto Trait Implementations
impl Send for GitRepoVolumeSource
impl Send for GitRepoVolumeSourceimpl Sync for GitRepoVolumeSource
impl Sync for GitRepoVolumeSource