This commit is contained in:
parent
c02763a6fc
commit
2c90d50168
@ -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()
|
||||
))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -61,7 +61,8 @@ impl K8sclient for K8sAnywhereTopology {
|
||||
impl Serialize for K8sAnywhereTopology {
|
||||
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
|
||||
where
|
||||
S: serde::Serializer {
|
||||
S: serde::Serializer,
|
||||
{
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
||||
@ -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()],
|
||||
|
||||
@ -91,7 +91,7 @@ impl<T: Topology> Clone for Box<dyn ApplicationFeature<T>> {
|
||||
pub struct BackupFeature;
|
||||
|
||||
#[async_trait]
|
||||
impl <T: Topology > ApplicationFeature<T> for BackupFeature {
|
||||
impl<T: Topology> ApplicationFeature<T> for BackupFeature {
|
||||
async fn ensure_installed(&self, _topology: &T) -> Result<(), String> {
|
||||
todo!()
|
||||
}
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user