provisioner

package
v2.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 16, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL