diff --git a/harmony/src/domain/topology/k8s.rs b/harmony/src/domain/topology/k8s.rs index 806de0a..bf91726 100644 --- a/harmony/src/domain/topology/k8s.rs +++ b/harmony/src/domain/topology/k8s.rs @@ -17,7 +17,10 @@ impl std::fmt::Debug for K8sClient { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { // This is a poor man's debug implementation for now as kube::Client does not provide much // useful information - f.write_fmt(format_args!("K8sClient {{ kube client using default namespace {} }}", self.client.default_namespace())) + f.write_fmt(format_args!( + "K8sClient {{ kube client using default namespace {} }}", + self.client.default_namespace() + )) } } diff --git a/harmony/src/domain/topology/k8s_anywhere.rs b/harmony/src/domain/topology/k8s_anywhere.rs index 267fb63..65567f1 100644 --- a/harmony/src/domain/topology/k8s_anywhere.rs +++ b/harmony/src/domain/topology/k8s_anywhere.rs @@ -61,7 +61,8 @@ impl K8sclient for K8sAnywhereTopology { impl Serialize for K8sAnywhereTopology { fn serialize(&self, serializer: S) -> Result where - S: serde::Serializer { + S: serde::Serializer, + { todo!() } } diff --git a/harmony/src/modules/application/features/continuous_delivery.rs b/harmony/src/modules/application/features/continuous_delivery.rs index 982b5c4..3530142 100644 --- a/harmony/src/modules/application/features/continuous_delivery.rs +++ b/harmony/src/modules/application/features/continuous_delivery.rs @@ -13,7 +13,7 @@ use crate::{modules::application::ApplicationFeature, topology::Topology}; /// It is intended to be used as an application feature passed down to an ApplicationInterpret. For /// example : /// -/// ```rust +/// ```rust,ignore /// let app = RustApplicationScore { /// name: "My Rust App".to_string(), /// features: vec![ContinuousDelivery::default()], diff --git a/harmony/src/modules/application/mod.rs b/harmony/src/modules/application/mod.rs index 1d9b8b0..3ed376d 100644 --- a/harmony/src/modules/application/mod.rs +++ b/harmony/src/modules/application/mod.rs @@ -91,7 +91,7 @@ impl Clone for Box> { pub struct BackupFeature; #[async_trait] -impl ApplicationFeature for BackupFeature { +impl ApplicationFeature for BackupFeature { async fn ensure_installed(&self, _topology: &T) -> Result<(), String> { todo!() } diff --git a/harmony/src/modules/mod.rs b/harmony/src/modules/mod.rs index 465587b..8b5720e 100644 --- a/harmony/src/modules/mod.rs +++ b/harmony/src/modules/mod.rs @@ -1,3 +1,4 @@ +pub mod application; pub mod cert_manager; pub mod dhcp; pub mod dns; @@ -14,4 +15,3 @@ pub mod okd; pub mod opnsense; pub mod tenant; pub mod tftp; -pub mod application;