Documentation
¶
Overview ¶
Package namesgenerator provides a local replacement for Docker's namesgenerator package so the CLI can generate random cluster/network/VM names without depending on github.com/moby/moby/pkg/namesgenerator (which pulls in the github.com/docker/docker module tree).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRandomName ¶
GetRandomName generates a random name formatted as "adjective_name". If retry is greater than zero, a random digit between 0 and 9 is appended.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.