pub struct ConfigManagementGitConfig {
pub gcp_service_account_email: Option<String>,
pub https_proxy: Option<String>,
pub policy_dir: Option<String>,
pub secret_type: Option<String>,
pub sync_branch: Option<String>,
pub sync_repo: Option<String>,
pub sync_rev: Option<String>,
pub sync_wait_secs: Option<i64>,
}Expand description
Git repo configuration for a single cluster.
This type is not used in any activity, and only used as part of another schema.
Fields§
§gcp_service_account_email: Option<String>The GCP Service Account Email used for auth when secret_type is gcpServiceAccount.
https_proxy: Option<String>URL for the HTTPS proxy to be used when communicating with the Git repo.
policy_dir: Option<String>The path within the Git repository that represents the top level of the repo to sync. Default: the root directory of the repository.
secret_type: Option<String>Type of secret configured for access to the Git repo. Must be one of ssh, cookiefile, gcenode, token, gcpserviceaccount or none. The validation of this is case-sensitive. Required.
sync_branch: Option<String>The branch of the repository to sync from. Default: master.
sync_repo: Option<String>The URL of the Git repository to use as the source of truth.
sync_rev: Option<String>Git revision (tag or hash) to check out. Default HEAD.
sync_wait_secs: Option<i64>Period in seconds between consecutive syncs. Default: 15.
Trait Implementations§
Source§impl Clone for ConfigManagementGitConfig
impl Clone for ConfigManagementGitConfig
Source§fn clone(&self) -> ConfigManagementGitConfig
fn clone(&self) -> ConfigManagementGitConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConfigManagementGitConfig
impl Debug for ConfigManagementGitConfig
Source§impl Default for ConfigManagementGitConfig
impl Default for ConfigManagementGitConfig
Source§fn default() -> ConfigManagementGitConfig
fn default() -> ConfigManagementGitConfig
Source§impl<'de> Deserialize<'de> for ConfigManagementGitConfig
impl<'de> Deserialize<'de> for ConfigManagementGitConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Part for ConfigManagementGitConfig
Auto Trait Implementations§
impl Freeze for ConfigManagementGitConfig
impl RefUnwindSafe for ConfigManagementGitConfig
impl Send for ConfigManagementGitConfig
impl Sync for ConfigManagementGitConfig
impl Unpin for ConfigManagementGitConfig
impl UnwindSafe for ConfigManagementGitConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more