{"modulePath":"github.com/AlaudaDevops/pkg","version":"v0.14.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package names\n\nPackage names contains useful functionality for generating names\n\n## Constants\n\n```go\nconst (\n\tMaxGeneratedNameLength = maxNameLength - randomLength\n)\n```\n\n## Functions\n\n```go\nfunc GenerateName(base string) string\n```\nGenerateName generates a name with a random suffix\n\n```go\nfunc GenerateNameWithHashSuffix(prefix string, needHashString string) string\n```\nGenerateNameWithHashSuffix generates a name with a hash suffix\n\n```go\nfunc GetGenerateName(object metav1.Object) string\n```\nGetGenerateName used to generate child object names with a \"-\" suffix\n\n","path":"github.com/AlaudaDevops/pkg/names","name":"names","synopsis":"Package names contains useful functionality for generating names","isRedistributable":true}
