pulumi/pkg/backend
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
..
display update snapshots with 'View in Browser' links 2023-06-01 13:55:36 +02:00
filestate filestate/upgrade: Support backfilling projects for detached stack 2023-06-13 10:08:32 -07:00
httpstate sdk/go: Add tokens.ValidateProjectName 2023-06-13 10:08:31 -07:00
state [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
apply.go Addressed feedback from Code Review 2023-04-13 15:04:53 -07:00
apply_test.go Add more detail to update display to indicate `retainOnDelete` usage. 2023-04-05 17:25:23 -07:00
backend.go Fix destroy without project file 2023-05-02 10:36:16 +01:00
backend_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
cancellation_scope.go Move cancellation_scope to backend 2023-05-09 13:01:42 +01:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07: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 Fix destroy without project file 2023-05-02 10:36:16 +01:00
policypack.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
query.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
snapshot.go pkg/backend: Prefer contract.Assertf over Assert 2023-02-21 15:13:16 -08:00
snapshot_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
stack.go Support 'pulumi:tags' config to set stack tags 2023-05-24 09:02:22 +01:00
updates.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
watch.go Don't pass a second SecretsProvider to backend.Watch 2023-05-08 20:38:40 +01:00