LocalWorkspaceOptions class

Options for LocalWorkspace.

Constructors

LocalWorkspaceOptions({String? workDir, Map<String, String> environmentVariables = const <String, String>{}, String pulumiBinary = 'pulumi', String? pulumiHome, String? secretsProvider, bool runInShell = true, bool skipVersionCheck = false, bool remote = false, List<String> remoteArgs = const <String>[], AutomationArgsSerializer? serializeArgsForOp, AutomationPostCommandCallback? postCommandCallback, PulumiCommandRunner? commandRunner, Encoding stdoutEncoding = utf8, Encoding stderrEncoding = utf8})
const

Properties

commandRunner → PulumiCommandRunner?
Optional command runner override (primarily for tests/custom execution).
final
environmentVariables → Map<String, String>
Environment variables applied to all Pulumi commands.
final
hashCode → int
The hash code for this object.
no setterinherited
postCommandCallback → AutomationPostCommandCallback?
Optional callback invoked after each stack operation command.
final
pulumiBinary → String
Pulumi executable path/name.
final
pulumiHome → String?
Optional $PULUMI_HOME override.
final
remote → bool
Whether this workspace should run operations in remote mode.
final
remoteArgs → List<String>
Additional CLI args appended for remote operations.
final
runInShell → bool
Whether to run commands in a shell.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secretsProvider → String?
Optional stack secrets provider used on stack init.
final
serializeArgsForOp → AutomationArgsSerializer?
Optional callback to append extra args for stack operations.
final
skipVersionCheck → bool
Whether to skip Pulumi CLI version compatibility checks.
final
stderrEncoding → Encoding
Encoding used for stderr.
final
stdoutEncoding → Encoding
Encoding used for stdout.
final
workDir → String?
Working directory for Pulumi commands.
final

Methods

copyWith({String? workDir, Map<String, String>? environmentVariables, String? pulumiBinary, String? pulumiHome, String? secretsProvider, bool? runInShell, bool? skipVersionCheck, bool? remote, List<String>? remoteArgs, AutomationArgsSerializer? serializeArgsForOp, AutomationPostCommandCallback? postCommandCallback, PulumiCommandRunner? commandRunner, Encoding? stdoutEncoding, Encoding? stderrEncoding}) → LocalWorkspaceOptions
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited