pulumi/pkg/backend/filestate
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
..
backend.go Standardize on Stack for backend methods. (#3336) 2019-10-14 14:30:42 -07:00
backend_test.go Fix issue when logging out of local backend (#2951) 2019-07-25 07:58:19 -07:00
bucket.go Do not use `os` package in filestate backend 2019-08-16 13:42:27 -07:00
snapshot.go Do not attempt to load checkpoint before saving a snapshot 2019-08-16 13:40:55 -07:00
stack.go Refactor config loading out of the backend 2019-05-10 17:07:52 -07:00
state.go Do not use `os` package in filestate backend 2019-08-16 13:42:27 -07:00