pub struct HorizonClusterConfig {
pub cluster_id: String,
pub management_token: String,
}Expand description
Configuration for a single Horizon cluster.
Contains the cluster ID and management token needed to interact with the Horizon control plane API for container operations.
Fields§
§cluster_id: StringCluster ID (deterministic: workspace/project/deployment/resourceid)
management_token: StringManagement token for API access (hm_…) Used by alien-deployment controllers to create/update containers
Trait Implementations§
Source§impl Clone for HorizonClusterConfig
impl Clone for HorizonClusterConfig
Source§fn clone(&self) -> HorizonClusterConfig
fn clone(&self) -> HorizonClusterConfig
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 HorizonClusterConfig
impl Debug for HorizonClusterConfig
Source§impl<'de> Deserialize<'de> for HorizonClusterConfig
impl<'de> Deserialize<'de> for HorizonClusterConfig
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 HorizonClusterConfig
impl PartialEq for HorizonClusterConfig
Source§impl Serialize for HorizonClusterConfig
impl Serialize for HorizonClusterConfig
impl Eq for HorizonClusterConfig
impl StructuralPartialEq for HorizonClusterConfig
Auto Trait Implementations§
impl Freeze for HorizonClusterConfig
impl RefUnwindSafe for HorizonClusterConfig
impl Send for HorizonClusterConfig
impl Sync for HorizonClusterConfig
impl Unpin for HorizonClusterConfig
impl UnsafeUnpin for HorizonClusterConfig
impl UnwindSafe for HorizonClusterConfig
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.