RunResult class

Result data returned by run.

Constructors

RunResult({bool? addPreviousOutputInEnv, dynamic archive, List<String>? archivePaths, List<String>? assetPaths, Map<String, dynamic>? assets, required String command, String? dir, Map<String, String>? environment, List<String>? interpreter, Logging? logging, required String stderr, String? stdin, required String stdout})
Creates a new RunResult. addPreviousOutputInEnv If the previous command's stdout and stderr (as generated by the prior create/update) is archive An archive asset containing files found after running the command. archivePaths A list of path globs to return as a single archive asset after the command completes. assetPaths A list of path globs to read after the command completes. assets A map of assets found after running the command. command The command to run. dir The directory from which to run the command from. If dir does not exist, then environment Additional environment variables available to the command's process. interpreter The program and arguments to run the command. logging If the command's stdout and stderr should be logged. This doesn't affect the capturing of stderr The standard error of the command's process stdin Pass a string to the command's process as standard in stdout The standard output of the command's process
const
RunResult.fromMap(Map<String, dynamic> map)
factory

Properties

addPreviousOutputInEnv bool?
If the previous command's stdout and stderr (as generated by the prior create/update) is injected into the environment of the next run as PULUMI_COMMAND_STDOUT and PULUMI_COMMAND_STDERR. Defaults to true.
final
archive → dynamic
An archive asset containing files found after running the command.
final
archivePaths List<String>?
A list of path globs to return as a single archive asset after the command completes.
final
assetPaths List<String>?
A list of path globs to read after the command completes.
final
assets Map<String, dynamic>?
A map of assets found after running the command. The key is the relative path from the command dir
final
command String
The command to run.
final
dir String?
The directory from which to run the command from. If dir does not exist, then Command will fail.
final
environment Map<String, String>?
Additional environment variables available to the command's process.
final
hashCode int
The hash code for this object.
no setterinherited
interpreter List<String>?
The program and arguments to run the command. On Linux and macOS, defaults to: ["/bin/sh", "-c"]. On Windows, defaults to: ["cmd", "/C"]
final
logging Logging?
If the command's stdout and stderr should be logged. This doesn't affect the capturing of stdout and stderr as outputs. If there might be secrets in the output, you can disable logging here and mark the outputs as secret via 'additionalSecretOutputs'. Defaults to logging both stdout and stderr.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stderr String
The standard error of the command's process
final
stdin String?
Pass a string to the command's process as standard in
final
stdout String
The standard output of the command's process
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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