pub struct DriftGitOpsConfig {
pub enabled: bool,
pub pr_config: Option<PRGenerationConfig>,
pub update_openapi_specs: bool,
pub update_fixtures: bool,
pub regenerate_clients: bool,
pub run_tests: bool,
pub openapi_spec_dir: Option<String>,
pub fixtures_dir: Option<String>,
pub clients_dir: Option<String>,
pub branch_prefix: String,
}Will be extracted to mockforge-contracts crate
Expand description
Configuration for drift GitOps handler
Fieldsยง
ยงenabled: boolWill be extracted to mockforge-contracts crate
Whether GitOps mode is enabled
pr_config: Option<PRGenerationConfig>Will be extracted to mockforge-contracts crate
PR generation configuration (used to build PRGenerator)
update_openapi_specs: boolWill be extracted to mockforge-contracts crate
Whether to update OpenAPI specs
update_fixtures: boolWill be extracted to mockforge-contracts crate
Whether to update fixture files
regenerate_clients: boolWill be extracted to mockforge-contracts crate
Whether to regenerate client SDKs
run_tests: boolWill be extracted to mockforge-contracts crate
Whether to run tests
openapi_spec_dir: Option<String>Will be extracted to mockforge-contracts crate
Base directory for OpenAPI specs
fixtures_dir: Option<String>Will be extracted to mockforge-contracts crate
Base directory for fixtures
clients_dir: Option<String>Will be extracted to mockforge-contracts crate
Base directory for generated clients
branch_prefix: StringWill be extracted to mockforge-contracts crate
Branch prefix for generated branches
Trait Implementationsยง
Sourceยงimpl Clone for DriftGitOpsConfig
impl Clone for DriftGitOpsConfig
Sourceยงfn clone(&self) -> DriftGitOpsConfig
fn clone(&self) -> DriftGitOpsConfig
1.0.0 ยท Sourceยงfn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSourceยงimpl Debug for DriftGitOpsConfig
impl Debug for DriftGitOpsConfig
Sourceยงimpl Default for DriftGitOpsConfig
impl Default for DriftGitOpsConfig
Sourceยงimpl<'de> Deserialize<'de> for DriftGitOpsConfig
impl<'de> Deserialize<'de> for DriftGitOpsConfig
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>,
Auto Trait Implementationsยง
impl Freeze for DriftGitOpsConfig
impl RefUnwindSafe for DriftGitOpsConfig
impl Send for DriftGitOpsConfig
impl Sync for DriftGitOpsConfig
impl Unpin for DriftGitOpsConfig
impl UnsafeUnpin for DriftGitOpsConfig
impl UnwindSafe for DriftGitOpsConfig
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