Skip to navigation

Struct Environment Plan

View as Markdown

Generated from cargo doc --no-deps -p nemo-fabric-core.

pub struct EnvironmentPlan {
    pub provider: String,
    pub control_location: ControlLocation,
    pub ownership: EnvironmentOwnership,
    pub workspace: Option<PathBuf>,
    pub artifacts: Option<PathBuf>,
    pub env: BTreeMap<String, String>,
    pub env_names: Vec<String>,
    pub connection: Map<String, Value>,
    pub metadata: Map<String, Value>,
    pub settings: Map<String, Value>,
}

Resolved environment plan.

Fields

provider: String

Environment provider.

control_location: ControlLocation

NeMo Fabric control location.

ownership: EnvironmentOwnership

Environment resource ownership.

workspace: Option<PathBuf>

Resolved workspace path.

artifacts: Option<PathBuf>

Resolved artifact path.

env: BTreeMap<String, String>

Environment variables visible to the harness and its tools.

env_names: Vec<String>

Names of environment variables whose values NeMo Fabric reads from its process environment when it starts or invokes the adapter. Changed values require restarting the runtime and any associated service.

connection: Map<String, Value>

Provider connection metadata.

metadata: Map<String, Value>

Consumer-provided environment metadata.

settings: Map<String, Value>

Provider-specific settings.

Trait Implementations

impl Clone for EnvironmentPlan

impl Clone for EnvironmentPlan

clone

fn clone(&self) -> EnvironmentPlan

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for EnvironmentPlan

impl Debug for EnvironmentPlan

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'de> Deserialize<'de> for EnvironmentPlan

impl<'de> Deserialize<'de> for EnvironmentPlan

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl JsonSchema for EnvironmentPlan

impl JsonSchema for EnvironmentPlan

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 EnvironmentPlan

impl PartialEq for EnvironmentPlan

eq

fn eq(&self, other: &EnvironmentPlan) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for EnvironmentPlan

impl Serialize for EnvironmentPlan

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl StructuralPartialEq for EnvironmentPlan

impl StructuralPartialEq for EnvironmentPlan