Documentation ¶
Overview ¶
Package namesgenerator original package is https://github.com/moby/moby/tree/master/pkg/namesgenerator Moby is licensed under the Apache License, Version 2.0. See https://github.com/moby/moby/blob/master/LICENSE for the full license text.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateWorkerName ¶ added in v0.52.0
func GetRandomName ¶
GetRandomName generates a random name from the list of adjectives and surnames in this package formatted as "adjective_surname". For example 'focused_turing'. If retry is non-zero, a random integer between 0 and 10 will be added to the end of the name, e.g `focused_turing3`
func GetRandomNameCDS ¶
func GetRandomNameCDS() string
GetRandomNameCDS generates a random name from the list of adjectives and surnames in this package
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.