pulumi/pkg/backend/httpstate
Abhinav Gupta 29ce91aa8a
pkg/backend: Delete SupportsTeams methods
This deletes the SupportsTeams method added in #11974.
It came up during review that we want to avoid too many new
"SupportsFoo" methods.

Instead, we'll let each backend report whether it supports teams
by returning ErrTeamsNotSupported.

As a result of this change, validateCreateStackOpts cannot error,
so it's been renamed to newCreateStackOptions.

Testing:
There's already a test (added in the #12499 refactor)
that verifies that we report the appropriate error
when the backend doesn't support --teams.
This updates the mock in that test.
2023-03-29 11:07:58 -07:00
..
client Merge #11974 2023-03-21 19:36:53 +00:00
testdata Reduce memory use for PULUMI_OPTIMIZED_CHECKPOINT_PATCH 2022-12-15 11:23:06 -05:00
backend.go pkg/backend: Delete SupportsTeams methods 2023-03-29 11:07:58 -07:00
backend_test.go ci: gofmt 1.18+ clean 2022-09-21 09:48:39 -07:00
console.go Add support for a PULUMI_CONSOLE_DOMAIN env var (#4410) 2020-04-17 11:50:00 -07:00
console_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
diffs.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
policypack.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
snapshot.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
snapshot_test.go Set the current project as ambient context on backends. 2023-03-03 20:32:42 +00:00
stack.go Pass *workspace.Project to GetBackendConfigDefaultOrg 2023-03-07 09:17:52 +00:00
state.go [cli] Add an "open in browser" keybinding 2023-03-09 15:52:13 -08:00
token_source.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
token_source_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00