platz-chart-ext 0.7.0

Platz Helm chart extensions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::UiSchemaInputError;
use serde::{de::DeserializeOwned, Serialize};
use uuid::Uuid;

pub trait UiSchemaCollections
where
    Self: DeserializeOwned + Serialize + std::fmt::Display,
{
    type Error: std::fmt::Display;

    #[allow(async_fn_in_trait)]
    async fn resolve(
        &self,
        env_id: Uuid,
        id: &str,
        property: &str,
    ) -> Result<serde_json::Value, UiSchemaInputError<Self::Error>>;
}