package namesgenerator

import "github.com/docker/docker/pkg/namesgenerator"

Index

Functions

func GetRandomName

func GetRandomName(retry int) string

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`

Source Files

names-generator.go

Directories

PathSynopsis
pkg/namesgenerator/cmd
pkg/namesgenerator/cmd/names-generator
Version
v1.12.3-rc1
Published
Oct 25, 2016
Platform
js/wasm
Imports
2 packages
Last checked
1 hour ago

Tools for package owners.