Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

EnvironmentEditor

Handle
📦 Aspire.Hosting v17.0.0

Provides an ATS-first editor for environment variables within polyglot callbacks.

type EnvironmentEditor interface{}

Methods

methodSet
Sets an environment variable.
Set(
name string,
value any,
) error
namestringThe name of the environment variable.
valueanyThe value to assign to the environment variable.
error

Returns error.