Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fraidev committed Apr 2, 2024
1 parent 224d3f9 commit 4f298ab
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ mod k8;

mod metadata {

use crate::core::{Spec, Status};
use crate::{
core::{Spec, Status},
extended::{ObjectType, SpecExt},
};

use super::*;

Expand All @@ -20,6 +23,10 @@ mod metadata {
type Owner = Self;
}

impl SpecExt for RemoteClusterSpec {
const OBJECT_TYPE: ObjectType = ObjectType::RemoteCluster;
}

impl Status for RemoteClusterStatus {}

#[cfg(feature = "k8")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ mod k8;

mod metadata {

use crate::core::{Spec, Status};
use crate::{
core::{Spec, Status},
extended::{ObjectType, SpecExt},
};

use super::*;

Expand All @@ -20,6 +23,10 @@ mod metadata {
type Owner = Self;
}

impl SpecExt for UpstreamClusterSpec {
const OBJECT_TYPE: ObjectType = ObjectType::UpstreamCluster;
}

impl Status for UpstreamClusterStatus {}

#[cfg(feature = "k8")]
Expand Down

0 comments on commit 4f298ab

Please sign in to comment.