namegenerator

package
v0.0.0-...-5be627a Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 2 Imported by: 33

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendRandomString

func AppendRandomString(baseClusterName string) string

func RandStringAll

func RandStringAll(length int) string

RandStringLower returns a random string with all alpha-numeric chars with the length depending on `n`. Used for creating a random string for resource names, such as clusters.

func RandStringLower

func RandStringLower(n int) string

RandStringLower returns a random string with lower case alpha chars with the length depending on `n`. Used for creating a random string for resource names, such as clusters.

func RandStringWithCharset

func RandStringWithCharset(length int, charset string) string

RandStringWithCharset returns a random string with specifc characters from the `charset` parameter with the length depending on `n`. Used for creating a random string for resource names, such as clusters.

Types

This section is empty.

Jump to

Keyboard shortcuts

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