pulumi/cmd
Pat Gavlin 14da941b0c
Standardize on Stack for backend methods. (#3336)
The current pattern of using backend.Stack values in the CLI but
accepting backend.StackReference values in backend methods leads to
frequent transitions between these types. In the case of the HTTP
backend, the transition from a StackReference to a Stack requires an API
call. These changes refactor the backend.Backend API such that most of
its methods accept backend.Stack values in place of
backend.StackReference values, which avoids these transitions.

This removes two calls to the getStack API on the startup path of a
`pulumi preview`.
2019-10-14 14:30:42 -07:00
..
cancel.go Don't print error prefix when a confirmation prompt is declined 2019-03-26 15:17:18 -07:00
config.go Disable interactive-terminal spinner when on a CI machine. (#3070) 2019-08-13 12:50:09 -07:00
config_test.go Tidy up some data structures (#2135) 2018-11-01 08:28:11 -07:00
crypto.go Improve error message when using PAC on out-of-date SDK (#3307) 2019-10-09 13:51:10 -07:00
crypto_cloud.go Improve error message when using PAC on out-of-date SDK (#3307) 2019-10-09 13:51:10 -07:00
crypto_http.go Improve error message when using PAC on out-of-date SDK (#3307) 2019-10-09 13:51:10 -07:00
crypto_local.go Improve error message when using PAC on out-of-date SDK (#3307) 2019-10-09 13:51:10 -07:00
destroy.go Use PulumiPolicy.yaml instead of Pulumi.yaml for PolicyPacks 2019-10-10 10:15:51 -07:00
errors.go Fixing error message typo. "buy" -> "by" 2019-08-20 13:35:32 -07:00
gen_completion.go Reworked gen-bash-completion into a more generic completion command (#1967) 2018-09-24 06:25:16 -07:00
gen_markdown.go Remove expanded_url from the command that generate docs (#3134) 2019-08-23 14:26:40 -07:00
history.go Annotate preview features (#3098) 2019-08-16 12:52:32 -07:00
login.go Annotate preview features (#3098) 2019-08-16 12:52:32 -07:00
logout.go Fix issue when logging out of local backend (#2951) 2019-07-25 07:58:19 -07:00
logs.go Annotate preview features (#3098) 2019-08-16 12:52:32 -07:00
logs_test.go Add license headers 2018-05-22 15:02:47 -07:00
new.go Use PulumiPolicy.yaml instead of Pulumi.yaml for PolicyPacks 2019-10-10 10:15:51 -07:00
new_test.go Standardize on Stack for backend methods. (#3336) 2019-10-14 14:30:42 -07:00
plugin.go Use PulumiPolicy.yaml instead of Pulumi.yaml for PolicyPacks 2019-10-10 10:15:51 -07:00
plugin_install.go Parameterize the progress function with a message 2019-08-23 14:45:29 +02:00
plugin_ls.go Add --json to pulumi plugin ls 2019-01-22 15:42:29 -08:00
plugin_rm.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
policy.go Address comments 2019-07-16 00:58:33 -07:00
policy_apply.go Add pulumi policy apply command 2019-07-16 00:58:33 -07:00
policy_publish.go Use PulumiPolicy.yaml instead of Pulumi.yaml for PolicyPacks 2019-10-10 10:15:51 -07:00
preview.go Use PulumiPolicy.yaml instead of Pulumi.yaml for PolicyPacks 2019-10-10 10:15:51 -07:00
pulumi.go Make the path to .pulumi folder configurable with an ENV variable (#3300) 2019-10-08 15:01:46 -07:00
query.go Use PulumiPolicy.yaml instead of Pulumi.yaml for PolicyPacks 2019-10-10 10:15:51 -07:00
refresh.go Use PulumiPolicy.yaml instead of Pulumi.yaml for PolicyPacks 2019-10-10 10:15:51 -07:00
stack.go Don't show secret outputs by default on the CLI 2019-05-10 17:07:52 -07:00
stack_export.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
stack_graph.go Refactor display logic out of pkg/backend/filestate 2018-09-05 07:33:18 -07:00
stack_import.go Refactor the way secrets managers are provided (#3001) 2019-08-01 10:33:52 -07:00
stack_init.go Fix invalid bullet points in stack init (#3303) 2019-10-08 15:07:03 -07:00
stack_ls.go Add support for filtering stacks by organization, tag (#3108) 2019-08-22 13:56:43 -07:00
stack_ls_test.go Add support for filtering stacks by organization, tag (#3108) 2019-08-22 13:56:43 -07:00
stack_output.go Fix crash in pulumi stack output when stack is empty 2019-06-11 12:58:29 -07:00
stack_output_test.go Add license headers 2018-05-22 15:02:47 -07:00
stack_rename.go Support renaming stack projects (#3292) 2019-10-03 09:13:13 -07:00
stack_rm.go Don't print error prefix when a confirmation prompt is declined 2019-03-26 15:17:18 -07:00
stack_select.go Remove pulumi archive and archive uploading code 2018-10-26 18:03:58 -07:00
stack_tag.go Add --json to pulumi config get and pulumi config 2019-01-22 10:39:37 -08:00
state.go Add --yes params to a couple commands (#2976) 2019-07-24 16:56:51 -07:00
state_delete.go Add --yes params to a couple commands (#2976) 2019-07-24 16:56:51 -07:00
state_unprotect.go Add --yes params to a couple commands (#2976) 2019-07-24 16:56:51 -07:00
up.go Use PulumiPolicy.yaml instead of Pulumi.yaml for PolicyPacks 2019-10-10 10:15:51 -07:00
util.go Use PulumiPolicy.yaml instead of Pulumi.yaml for PolicyPacks 2019-10-10 10:15:51 -07:00
util_test.go Add detection of Azure Pipelines (#2705) 2019-05-07 11:49:13 -07:00
version.go Add license headers 2018-05-22 15:02:47 -07:00
view-trace.go Improve tracing support. (#3238) 2019-09-16 14:16:43 -07:00
whoami.go cli/whoami: Addition of the currently connected backend to whoami 2019-05-22 14:45:04 +02:00