pub struct HusakoConfig {
pub entries: HashMap<String, String>,
pub cluster: Option<ClusterConfig>,
pub clusters: HashMap<String, ClusterConfig>,
pub resources: HashMap<String, SchemaSource>,
pub charts: HashMap<String, ChartSource>,
pub plugins: HashMap<String, PluginSource>,
}Expand description
Full husako.toml configuration.
Fields§
§entries: HashMap<String, String>Entry file aliases: dev = "env/dev.ts".
cluster: Option<ClusterConfig>Single cluster connection (shorthand for the common case).
clusters: HashMap<String, ClusterConfig>Named cluster connections for multi-cluster setups.
resources: HashMap<String, SchemaSource>Resource schema dependencies (renamed from schemas).
charts: HashMap<String, ChartSource>Chart values schema sources.
plugins: HashMap<String, PluginSource>Plugin dependencies.
Trait Implementations§
Source§impl Clone for HusakoConfig
impl Clone for HusakoConfig
Source§fn clone(&self) -> HusakoConfig
fn clone(&self) -> HusakoConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HusakoConfig
impl Debug for HusakoConfig
Source§impl Default for HusakoConfig
impl Default for HusakoConfig
Source§fn default() -> HusakoConfig
fn default() -> HusakoConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HusakoConfig
impl<'de> Deserialize<'de> for HusakoConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HusakoConfig
impl RefUnwindSafe for HusakoConfig
impl Send for HusakoConfig
impl Sync for HusakoConfig
impl Unpin for HusakoConfig
impl UnsafeUnpin for HusakoConfig
impl UnwindSafe for HusakoConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more