pub struct ConfigManagementConfigSync {
pub allow_vertical_scale: Option<bool>,
pub enabled: Option<bool>,
pub git: Option<ConfigManagementGitConfig>,
pub oci: Option<ConfigManagementOciConfig>,
pub prevent_drift: Option<bool>,
pub source_format: Option<String>,
}Expand description
Configuration for Config Sync
This type is not used in any activity, and only used as part of another schema.
Fields§
§allow_vertical_scale: Option<bool>Set to true to allow the vertical scaling. Defaults to false which disallows vertical scaling. This field is deprecated.
enabled: Option<bool>Enables the installation of ConfigSync. If set to true, ConfigSync resources will be created and the other ConfigSync fields will be applied if exist. If set to false, all other ConfigSync fields will be ignored, ConfigSync resources will be deleted. If omitted, ConfigSync resources will be managed depends on the presence of git field.
git: Option<ConfigManagementGitConfig>Git repo configuration for the cluster.
oci: Option<ConfigManagementOciConfig>OCI repo configuration for the cluster
prevent_drift: Option<bool>Set to true to enable the Config Sync admission webhook to prevent drifts. If set to false, disables the Config Sync admission webhook and does not prevent drifts.
source_format: Option<String>Specifies whether the Config Sync Repo is in “hierarchical” or “unstructured” mode.
Trait Implementations§
Source§impl Clone for ConfigManagementConfigSync
impl Clone for ConfigManagementConfigSync
Source§fn clone(&self) -> ConfigManagementConfigSync
fn clone(&self) -> ConfigManagementConfigSync
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ConfigManagementConfigSync
impl Debug for ConfigManagementConfigSync
Source§impl Default for ConfigManagementConfigSync
impl Default for ConfigManagementConfigSync
Source§fn default() -> ConfigManagementConfigSync
fn default() -> ConfigManagementConfigSync
Source§impl<'de> Deserialize<'de> for ConfigManagementConfigSync
impl<'de> Deserialize<'de> for ConfigManagementConfigSync
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 ConfigManagementConfigSync
Auto Trait Implementations§
impl Freeze for ConfigManagementConfigSync
impl RefUnwindSafe for ConfigManagementConfigSync
impl Send for ConfigManagementConfigSync
impl Sync for ConfigManagementConfigSync
impl Unpin for ConfigManagementConfigSync
impl UnwindSafe for ConfigManagementConfigSync
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