use super:: {
client::Client,
upath::UPath,
namespace::Namespace,
};
use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, Deserialize, Serialize)]
pub struct Domain {
_client: Client,
path: UPath,
}
impl Domain {
pub async fn new(_client: Client, path: UPath) -> Self {
Domain {
_client,
path,
}
}
pub fn to_string(&self) -> String {
format!("Domain({})^{}", self.path.to_string(), self._client.to_string())
}
pub async fn namespace_from_key(_pkg_name: &str) -> Option<Namespace> {
unimplemented!()
}
pub async fn namespace_keys(&self) -> Vec<String> {
unimplemented!()
}
pub async fn namespace_objects(&self) -> Vec<Namespace> {
unimplemented!()
}
}