names

package
v17.12.0-ce-rc1+incomp... Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const RestrictedNameChars = `[a-zA-Z0-9][a-zA-Z0-9_.-]`

RestrictedNameChars collects the characters allowed to represent a name, normally used to validate container and volume names.

Variables

View Source
var RestrictedNamePattern = regexp.MustCompile(`^` + RestrictedNameChars + `+$`)

RestrictedNamePattern is a regular expression to validate names against the collection of restricted characters.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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