Movatterモバイル変換


[0]ホーム

URL:


provisioner

package
v2.23.0Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License:AGPL-3.0Imports:1Imported by:0

Details

Repository

github.com/coder/coder

Links

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (// AgentNameRegex is the regex used to validate the name of a coder_agent// resource. It must be a valid hostname and cannot contain two consecutive// hyphens or start/end with a hyphen. Uppercase characters ARE permitted,// although duplicate agent names with different casing will be rejected.//// Previously, underscores were permitted, but this was changed in 2025-02.// App URLs never supported underscores, and proxy requests to apps on// agents with underscores in the name always failed.//// Due to terraform limitations, this cannot be validated at the provider// level as resource names cannot be read from the provider API, so this is// not duplicated in the terraform provider code.//// There are test cases for this regex in regexes_test.go.AgentNameRegex =regexp.MustCompile(`(?i)^[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 regexes_test.go.AppSlugRegex =regexp.MustCompile(`^[a-z0-9](-?[a-z0-9])*$`))

Functions

This section is empty.

Types

This section is empty.

Source Files

View all Source files

Directories

PathSynopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp