Documentation ¶
Overview ¶
The package nameutil contains util structures for generating names. E.g. chart release names.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NameGenerator ¶
type NameGenerator struct {
// contains filtered or unexported fields
}
NameGenerator satisfies the Generator interface for generating names.
func NewDefaultNameGenerator ¶
func NewDefaultNameGenerator() *NameGenerator
NewDefaultNameGenerator creates a new NameGenerator with the default dependencies.
func NewNameGenerator ¶
func NewNameGenerator( timeNow func() time.Time, randRead func([]byte) (int, error), ) *NameGenerator
NewNameGenerator creates a new NameGenerator.
Click to show internal directories.
Click to hide internal directories.