Struct k8s_openapi::v1_10::api::core::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

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 URL

Commit hash for the specified revision.

Trait Implementations

impl Clone for GitRepoVolumeSource
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for GitRepoVolumeSource
[src]

Formats the value using the given formatter. Read more

impl Default for GitRepoVolumeSource
[src]

Returns the "default value" for a type. Read more

impl PartialEq for GitRepoVolumeSource
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for GitRepoVolumeSource
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for GitRepoVolumeSource
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations