pulumi/pkg/backend/filestate
Abhinav Gupta 03ff557de4
filestate/upgrade: Support backfilling projects for detached stack
Adds an option to the filestate upgrade operation that, when supplied,
allows the caller to fill project names for stacks
for which we could not guess a project name.

The caller supplies a function with the following signature,
taking a list of stack names and returning a list of project names
in the same order.

    func(stacks []Name) (projects []Name, err error)

A caller like the CLI can use this hook to prompt the user for input,
allowing users to fill in project names for stacks.
2023-06-13 10:08:32 -07:00
..
backend.go filestate/upgrade: Support backfilling projects for detached stack 2023-06-13 10:08:32 -07:00
backend_legacy_test.go pkg/filestate: Plumb context 2023-04-10 15:53:32 -07:00
backend_test.go filestate/upgrade: Support backfilling projects for detached stack 2023-06-13 10:08:32 -07:00
bucket.go pkg/filestate: Plumb context 2023-04-10 15:53:32 -07:00
bucket_test.go pkg/filestate: Plumb context 2023-04-10 15:53:32 -07:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
lock.go pkg/filestate: Plumb context 2023-04-10 15:53:32 -07:00
meta.go refactor(filestate): Don't use t.Setenv in tests 2023-03-31 16:29:06 -07:00
meta_test.go refactor(filestate): Don't use t.Setenv in tests 2023-03-31 16:29:06 -07:00
pool.go filestate: Add re-usable worker pool 2023-06-12 09:20:26 -07:00
pool_test.go filestate: Add re-usable worker pool 2023-06-12 09:20:26 -07:00
snapshot.go pkg/filestate: Plumb context 2023-04-10 15:53:32 -07:00
stack.go Make filestate.Snapshot lazy like httpstate 2023-05-24 08:24:04 +01:00
state.go Make filestate.Snapshot lazy like httpstate 2023-05-24 08:24:04 +01:00
state_test.go filestate: Re-add project support 2023-03-31 13:21:36 -07:00
store.go sdk/go: Add tokens.ValidateProjectName 2023-06-13 10:08:31 -07:00
store_test.go Merge #12798 2023-05-03 00:19:27 +00:00