Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppSlugRegex = regexp.MustCompile(`^[a-z0-9](-?[a-z0-9])*$`)
AppSlugRegex is the regex used to validate the slug of a coder_app resource. It must be a valid hostname and cannot contain two consecutive hyphens or start/end with a hyphen.
This regex is duplicated in the terraform provider code, so make sure to update it there as well.
There are test cases for this regex in appslug_test.go.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.