pub struct ClusterConfig {
pub cluster: ClusterMeta,
pub node: Vec<NodeConfig>,
pub observability: Option<ObservabilityConfig>,
pub ai: Option<AiConfig>,
pub backup: Option<BackupConfig>,
pub api_tokens: Vec<String>,
pub token: Vec<ApiToken>,
pub network: Option<NetworkConfig>,
pub fallback: Option<FallbackConfig>,
}Expand description
Top-level cluster configuration (cluster.toml).
Fields§
§cluster: ClusterMeta§node: Vec<NodeConfig>§observability: Option<ObservabilityConfig>§ai: Option<AiConfig>§backup: Option<BackupConfig>§api_tokens: Vec<String>API bearer tokens for authentication. Empty = allow all requests.
Deprecated: use [[token]] entries with roles instead.
token: Vec<ApiToken>Named API tokens with role-based access control.
network: Option<NetworkConfig>Mesh networking configuration (NetBird).
fallback: Option<FallbackConfig>Fallback proxy for unmatched requests (e.g., point to coolify-proxy).
Implementations§
Trait Implementations§
Source§impl Clone for ClusterConfig
impl Clone for ClusterConfig
Source§fn clone(&self) -> ClusterConfig
fn clone(&self) -> ClusterConfig
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 ClusterConfig
impl Debug for ClusterConfig
Source§impl Default for ClusterConfig
impl Default for ClusterConfig
Source§fn default() -> ClusterConfig
fn default() -> ClusterConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClusterConfig
impl<'de> Deserialize<'de> for ClusterConfig
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 ClusterConfig
impl RefUnwindSafe for ClusterConfig
impl Send for ClusterConfig
impl Sync for ClusterConfig
impl Unpin for ClusterConfig
impl UnsafeUnpin for ClusterConfig
impl UnwindSafe for ClusterConfig
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