mirror of https://github.com/pulumi/pulumi.git
29ce91aa8a
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. |
||
---|---|---|
.. | ||
client | ||
testdata | ||
backend.go | ||
backend_test.go | ||
console.go | ||
console_test.go | ||
diffs.go | ||
doc.go | ||
policypack.go | ||
snapshot.go | ||
snapshot_test.go | ||
stack.go | ||
state.go | ||
token_source.go | ||
token_source_test.go |