names

package
v0.150.0 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2023 License: Apache-2.0 Imports: 4 Imported by: 3 modules, 6 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForCluster

func ForCluster(a, b string) string

ForCluster generates a name string when a and b are empty strings. If either a or b are non-empty, it returns whichever is non-empty. If neither a nor b are empty, it returns empty name, to indicate ambiguous usage.

func ForFargateProfile

func ForFargateProfile(name string) string

ForFargateProfile returns the provided name if non-empty, or else generates a random name matching: fp-[abcdef0123456789]{8}

func ForNodeGroup

func ForNodeGroup(a, b string) string

ForNodeGroup generates a name string when a and b are empty strings. If either a or b are non-empty, it returns whichever is non-empty. If neither a nor b are empty, it returns empty name, to indicate ambiguous usage. It uses a different naming scheme from ClusterName, so that users can easily distinguish a cluster name from nodegroup name.

func RandomName

func RandomName(length int, chars string) string

RandomName generates a string of the provided length by randomly selecting characters in the provided set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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