Back to

Package internal

Latest Go to latest

The latest major version is .

Published: Dec 2, 2019 | License: MIT | Module:


func ValidateServiceName

func ValidateServiceName(name string) error

ValidateServiceName returns an error if the given servive name is invalid. Valid names are at least two characters long, start with [a-z], contain only [0-9a-z] and non-consecutive hyphens, and end in [0-9a-z]. Furthermore, names may not contain UUIDs.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier