pulumi/pkg/backend/httpstate
Abhinav Gupta e7aa7c484f
sdk/go: Add tokens.ValidateProjectName
As pointed out in
https://github.com/pulumi/pulumi/pull/13078#discussion_r1227854722,
we repreatedly reimplement the project name validation logic.

This moves it to a central place: `tokens.ValidateProjectName`,
and re-uses it in existing places where copies were found.
2023-06-13 10:08:31 -07:00
..
client [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
testdata [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
backend.go sdk/go: Add tokens.ValidateProjectName 2023-06-13 10:08:31 -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 [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
diffs_post_1.20.go [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
diffs_pre_1.20.go [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07: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 [snapshot] Pool checkpoint buffers 2023-05-12 10:54:24 -07:00
snapshot_test.go [snapshot] Use a newer diff package 2023-05-16 12:33:30 -07:00
stack.go Make filestate.Snapshot lazy like httpstate 2023-05-24 08:24:04 +01: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