pub struct RobotNodeConfig {Show 16 fields
pub dms_base_url: Url,
pub node_version: String,
pub request_timeout_secs: u64,
pub dds_base_url: Url,
pub heartbeat_jitter_ms: u64,
pub heartbeat_min_ratio: f64,
pub heartbeat_max_ratio: f64,
pub poll_backoff_ms_min: u64,
pub poll_backoff_ms_max: u64,
pub token_safety_ratio: f32,
pub token_reauth_max_retries: u32,
pub token_reauth_jitter_ms: u64,
pub max_concurrency: u32,
pub log_format: LogFormat,
pub enable_noop: bool,
pub noop_sleep_secs: u64,
/* private fields */
}Expand description
Configuration for the opt-in robot machine-authentication entrypoint.
This is deliberately separate from NodeConfig so the existing SIWE
configuration surface and public struct shape remain unchanged. Complete
registration credentials are kept private and are always redacted from
debug output.
Fields§
§dms_base_url: Url§node_version: String§request_timeout_secs: u64§dds_base_url: Url§heartbeat_jitter_ms: u64§heartbeat_min_ratio: f64§heartbeat_max_ratio: f64§poll_backoff_ms_min: u64§poll_backoff_ms_max: u64§token_safety_ratio: f32§token_reauth_max_retries: u32§token_reauth_jitter_ms: u64§max_concurrency: u32§log_format: LogFormat§enable_noop: bool§noop_sleep_secs: u64Implementations§
Source§impl RobotNodeConfig
impl RobotNodeConfig
Sourcepub fn new(
dds_base_url: Url,
dms_base_url: Url,
registration_credentials: impl Into<String>,
) -> Result<Self>
pub fn new( dds_base_url: Url, dms_base_url: Url, registration_credentials: impl Into<String>, ) -> Result<Self>
Construct robot configuration without reading process-global state.
Operational fields receive the same defaults as Self::from_env and
remain publicly overridable. The opaque credential stays private and is
redacted by this type’s fmt::Debug implementation.
Sourcepub fn from_env() -> Result<Self>
pub fn from_env() -> Result<Self>
Load the robot entrypoint configuration from environment variables.
Unlike NodeConfig::from_env, this requires only opaque robot
credentials, supplied either inline or through a file. It never reads
or falls back to the legacy SIWE secret or secp256k1 private key.