Struct Environment Config
Generated from cargo doc --no-deps -p nemo-fabric-core.
pub struct EnvironmentConfig {
pub provider: String,
pub control_location: ControlLocation,
pub ownership: EnvironmentOwnership,
pub workspace: Option<PathBuf>,
pub artifacts: Option<PathBuf>,
pub env: BTreeMap<String, String>,
pub connection: Map<String, Value>,
pub metadata: Map<String, Value>,
pub settings: Map<String, Value>,
pub extensions: BTreeMap<String, Value>,
}
Execution environment configuration.
Fields
provider: String
Environment provider, for example local, docker, opensandbox, or k8s.
control_location: ControlLocation
Where NeMo Fabric control code runs relative to the environment.
ownership: EnvironmentOwnership
Whether NeMo Fabric owns the environment resource.
workspace: Option<PathBuf>
Workspace path inside or outside the provider.
artifacts: Option<PathBuf>
Artifact path inside or outside the provider.
env: BTreeMap<String, String>
Environment variables visible to the harness and its tools.
Values are serialized into the run plan and can appear wherever configs or plans are logged or persisted. Prefer api_key_env-style environment-variable-name indirection for credentials.
connection: Map<String, Value>
Provider connection metadata, such as server URL, credential reference, or namespace.
metadata: Map<String, Value>
Consumer-provided environment metadata.
settings: Map<String, Value>
Provider-specific settings.
extensions: BTreeMap<String, Value>
Additive normalized environment fields.
Trait Implementations
impl Clone for EnvironmentConfig
impl Clone for EnvironmentConfig
clone
fn clone(&self) -> EnvironmentConfig
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for EnvironmentConfig
impl Debug for EnvironmentConfig
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl<'de> Deserialize<'de> for EnvironmentConfig
impl<'de> Deserialize<'de> for EnvironmentConfig
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl JsonSchema for EnvironmentConfig
impl JsonSchema for EnvironmentConfig
schema_name
fn schema_name() -> Cow<'static, str>
schema_id
fn schema_id() -> Cow<'static, str>
json_schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
inline_schema
fn inline_schema() -> bool
impl PartialEq for EnvironmentConfig
impl PartialEq for EnvironmentConfig
eq
fn eq(&self, other: &EnvironmentConfig) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for EnvironmentConfig
impl Serialize for EnvironmentConfig
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl StructuralPartialEq for EnvironmentConfig
impl StructuralPartialEq for EnvironmentConfig