pub struct HorizonClusterConfig {
pub cluster_id: String,
pub management_token: String,
pub runtime_identity: Option<MachineRuntimeIdentity>,
pub horizon_machine_image: Option<HorizonMachineImage>,
pub machine_url: Option<String>,
}Expand description
Configuration for a single container worker cluster.
Contains the cluster ID and management token needed to interact with the managed container 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
runtime_identity: Option<MachineRuntimeIdentity>Nonsecret configuration for bounded machine identity. Existing clusters remain on their prior authentication until explicitly migrated.
horizon_machine_image: Option<HorizonMachineImage>Machine image this cluster’s machines run. When set, it replaces
HorizonConfig::horizon_machine_image for this cluster only, so one
cluster can stay on the image it runs while others move to a newer one.
machine_url: Option<String>Control-plane URL this cluster’s machines use, when it differs from
HorizonConfig::url, for example a relay in front of the control
plane. Chosen when the cluster is created and never changed by later
updates, so machines that have already joined keep the URL they use.
Trait Implementations§
Source§impl Clone for HorizonClusterConfig
impl Clone for HorizonClusterConfig
Source§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>,
impl Eq for HorizonClusterConfig
Source§impl PartialEq for HorizonClusterConfig
impl PartialEq for HorizonClusterConfig
Source§impl Serialize for HorizonClusterConfig
impl Serialize for HorizonClusterConfig
impl StructuralPartialEq for HorizonClusterConfig
Auto Trait Implementations§
impl Forget for HorizonClusterConfig
impl Freeze for HorizonClusterConfig
impl Move 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.