pulumi/pkg/backend/filestate
Fraser Waters 0711cd83ab Set the current project as ambient context on backends.
Rather than passing a `*workspace.Project` to most backend methods, just
say that backends have a "current project" property. We set this on
creation (because we normally have a project before creating a backend)
but we also add a `SetCurrentProject` method for `pulumi new` to use
because it's the (currently) one place where we need a backend before we
have the project to go with it.
2023-03-03 20:32:42 +00:00
..
backend.go Set the current project as ambient context on backends. 2023-03-03 20:32:42 +00:00
backend_test.go Set the current project as ambient context on backends. 2023-03-03 20:32:42 +00:00
bucket.go Revert "Support projects in the file state backend" 2023-02-02 15:26:26 -08:00
bucket_test.go Set the current project as ambient context on backends. 2023-03-03 20:32:42 +00:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
lock.go pkg/backend: Prefer contract.Assertf over Assert 2023-02-21 15:13:16 -08:00
snapshot.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
stack.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
state.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00