Skip to content

Commit

Permalink
feat: implemented metadata annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
paulobressan committed Sep 24, 2024
1 parent 6a92ebb commit 15496ad
Show file tree
Hide file tree
Showing 7 changed files with 156 additions and 164 deletions.
59 changes: 29 additions & 30 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/domain/metadata/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub mod command;
pub trait MetadataDriven: Send + Sync {
async fn find(&self) -> Result<Vec<CustomResourceDefinition>>;
async fn find_by_kind(&self, kind: &str) -> Result<Option<CustomResourceDefinition>>;
async fn render_hbs(&self, name: &str, spec: serde_json::Value) -> Result<String>;
fn render_hbs(&self, name: &str, spec: &str) -> Result<String>;
}

pub enum KnownField {
Expand Down
Loading

0 comments on commit 15496ad

Please sign in to comment.