Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateClusterName ¶
ValidateClusterName tests whether the cluster name passed is valid. If the cluster name is not valid, a list of error strings is returned. Otherwise an empty list (or nil) is returned. Rules of a valid cluster name: - Must be a valid label value as per RFC1123.
- An alphanumeric (a-z, and 0-9) string, with a maximum length of 63 characters, with the '-' character allowed anywhere except the first or last character.
- Length must be less than 48 characters.
- Since cluster name used to generate execution namespace by adding a prefix, so reserve 15 characters for the prefix.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.