pub struct HorizonConfig {
pub url: String,
pub horizon_machine_image: Option<HorizonMachineImage>,
pub clusters: HashMap<String, HorizonClusterConfig>,
}Expand description
Horizon control-plane configuration for container orchestration.
Contains all the information needed for Alien to interact with managed container clusters during deployment. Each ComputeCluster resource gets its own entry in the clusters map.
Fields§
§url: StringHorizon control-plane API base URL.
horizon_machine_image: Option<HorizonMachineImage>Horizon machine image catalog.
clusters: HashMap<String, HorizonClusterConfig>Cluster configurations (one per ComputeCluster resource) Key: ComputeCluster resource ID from stack Value: Cluster ID and management token for that cluster
Trait Implementations§
Source§impl Clone for HorizonConfig
impl Clone for HorizonConfig
Source§fn clone(&self) -> HorizonConfig
fn clone(&self) -> HorizonConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HorizonConfig
impl Debug for HorizonConfig
Source§impl<'de> Deserialize<'de> for HorizonConfig
impl<'de> Deserialize<'de> for HorizonConfig
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
Source§impl PartialEq for HorizonConfig
impl PartialEq for HorizonConfig
Source§fn eq(&self, other: &HorizonConfig) -> bool
fn eq(&self, other: &HorizonConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for HorizonConfig
impl Serialize for HorizonConfig
impl Eq for HorizonConfig
impl StructuralPartialEq for HorizonConfig
Auto Trait Implementations§
impl Freeze for HorizonConfig
impl RefUnwindSafe for HorizonConfig
impl Send for HorizonConfig
impl Sync for HorizonConfig
impl Unpin for HorizonConfig
impl UnsafeUnpin for HorizonConfig
impl UnwindSafe for HorizonConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.