pulumi/pkg/backend
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
..
display Print PolicyPacks run as part of update summary 2019-09-30 14:49:21 -07:00
filestate Standardize on Stack for backend methods. (#3336) 2019-10-14 14:30:42 -07:00
httpstate Standardize on Stack for backend methods. (#3336) 2019-10-14 14:30:42 -07:00
state Add license headers 2018-05-22 15:02:47 -07:00
apply.go Don't print `error` prefix when a confirmation prompt is declined 2019-03-26 15:17:18 -07:00
backend.go Standardize on Stack for backend methods. (#3336) 2019-10-14 14:30:42 -07:00
backend_test.go Check project existence during pulumi new 2019-08-23 09:09:54 +02:00
errors.go Add a link to docs for the 409 Conflict error message (#3207) 2019-09-10 13:25:08 -07:00
mock.go Standardize on Stack for backend methods. (#3336) 2019-10-14 14:30:42 -07:00
policypack.go Use PulumiPolicy.yaml instead of Pulumi.yaml for PolicyPacks 2019-10-10 10:15:51 -07:00
snapshot.go Addition of Custom Timeouts (#2885) 2019-07-16 00:26:28 +03:00
snapshot_test.go Pass ignoreChanges to providers. (#3005) 2019-07-31 11:39:07 -05:00
stack.go Standardize on Stack for backend methods. (#3336) 2019-10-14 14:30:42 -07:00
updates.go Remove the GitHubLogin and GitHubRepo update metadata keys (#2732) 2019-05-29 11:22:59 -07:00